4 ROPTS=-q --no-save --no-restore-data
6 all: imprinted_genes_information.txt
8 geneimprint_human.html:
9 wget -O $@ "http://www.geneimprint.com/site/genes-by-species.Homo+sapiens"
11 geneimprint_mouse.html:
12 wget -O $@ "http://www.geneimprint.com/site/genes-by-species.Mus+musculus"
15 parent_of_origin.html:
16 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"
19 geneimprint_human.txt: geneimprint_human.html parse_geneimprint.pl
20 ./parse_geneimprint.pl $< > $@
22 geneimprint_mouse.txt: geneimprint_mouse.html parse_geneimprint.pl
23 ./parse_geneimprint.pl $< > $@
25 parent_of_origin.txt: parent_of_origin.html parse_parent_of_origin.pl
26 ./parse_parent_of_origin.pl $< > $@
28 parent_of_origin_mouse.txt: parent_of_origin.html parse_parent_of_origin.pl
29 ./parse_parent_of_origin.pl --taxon Mouse $< > $@
31 imprinted_genes.txt: combine_imprinted_genes.R geneimprint_human.txt \
32 parent_of_origin.txt gene_aliases.txt
33 $(R) $(ROPTS) -f $< --args $(wordlist 2,$(words $^),$^) $@
35 imprinted_genes_information.txt: imprinted_genes.txt
36 ~/projects/chaim/bin/gene_info < $< > $@
38 imprinted_genes_mouse.txt: combine_imprinted_genes.R geneimprint_mouse.txt \
39 parent_of_origin_mouse.txt gene_aliases_mouse.txt
40 $(R) $(ROPTS) -f $< --args $(wordlist 2,$(words $^),$^) $@