X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Makefile;h=2bac96e06e31b2aacf4e2dfa10bf0938665c1414;hb=a5870923e8ae40e37467457775c2ca76a3f21069;hp=18dfbad2a43c5847e8354d30a42ead694b122e73;hpb=717b093feeae46252f82a76a6f955a0c898d237d;p=imprinted_genes.git diff --git a/Makefile b/Makefile index 18dfbad..2bac96e 100644 --- a/Makefile +++ b/Makefile @@ -3,21 +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 $< > $@ -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 $^),$^) $@