X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Makefile;h=2bac96e06e31b2aacf4e2dfa10bf0938665c1414;hb=a5870923e8ae40e37467457775c2ca76a3f21069;hp=b87aa21f22911187f642ab3af9f2eba75ce82c78;hpb=8f5f94cc8b0e750124693ffe3490175b9a049ff0;p=imprinted_genes.git diff --git a/Makefile b/Makefile index b87aa21..2bac96e 100644 --- a/Makefile +++ b/Makefile @@ -3,18 +3,38 @@ R=R ROPTS=-q --no-save --no-restore-data +all: imprinted_genes_information.txt + geneimprint_human.html: wget -O $@ "http://www.geneimprint.com/site/genes-by-species.Homo+sapiens" +geneimprint_mouse.html: + wget -O $@ "http://www.geneimprint.com/site/genes-by-species.Mus+musculus" + parent_of_origin.html: wget -O $@ "http://igc.otago.ac.nz/FMPro?-DB=Catalogue.fm&-error=Error.html&-Format=Record3.html&Genetype=maingene&-SortField=Species&custom=Species&-SortField=Chr&custom=Chromosome&-SortField=Location&-SortOrder=Ascending&-Max=all&-Find" + geneimprint_human.txt: geneimprint_human.html parse_geneimprint.pl ./parse_geneimprint.pl $< > $@ +geneimprint_mouse.txt: geneimprint_mouse.html parse_geneimprint.pl + ./parse_geneimprint.pl $< > $@ + parent_of_origin.txt: parent_of_origin.html parse_parent_of_origin.pl ./parse_parent_of_origin.pl $< > $@ -combined_imprinted_genes.txt: combine_imprinted_genes.R geneimprint_human.txt parent_of_origin.txt +parent_of_origin_mouse.txt: parent_of_origin.html parse_parent_of_origin.pl + ./parse_parent_of_origin.pl --taxon Mouse $< > $@ + +imprinted_genes.txt: combine_imprinted_genes.R geneimprint_human.txt \ + parent_of_origin.txt gene_aliases.txt + $(R) $(ROPTS) -f $< --args $(wordlist 2,$(words $^),$^) $@ + +imprinted_genes_information.txt: imprinted_genes.txt + ~/projects/chaim/bin/gene_info < $< > $@ + +imprinted_genes_mouse.txt: combine_imprinted_genes.R geneimprint_mouse.txt \ + parent_of_origin_mouse.txt gene_aliases_mouse.txt $(R) $(ROPTS) -f $< --args $(wordlist 2,$(words $^),$^) $@