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"
12 parent_of_origin.html:
13 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"
15 geneimprint_human.txt: geneimprint_human.html parse_geneimprint.pl
16 ./parse_geneimprint.pl $< > $@
18 parent_of_origin.txt: parent_of_origin.html parse_parent_of_origin.pl
19 ./parse_parent_of_origin.pl $< > $@
21 imprinted_genes.txt: combine_imprinted_genes.R geneimprint_human.txt \
22 parent_of_origin.txt gene_aliases.txt
23 $(R) $(ROPTS) -f $< --args $(wordlist 2,$(words $^),$^) $@
25 imprinted_genes_information.txt: imprinted_genes.txt
26 ~/projects/chaim/bin/gene_info < $< > $@