]> git.donarmstrong.com Git - imprinted_genes.git/blob - Makefile
193e28d99615c78204bc5b738b0c0eb72538da7d
[imprinted_genes.git] / Makefile
1 #!/usr/bin/make -f
2
3 R=R
4 ROPTS=-q --no-save --no-restore-data
5
6 all: imprinted_genes_information.txt
7
8 geneimprint_human.html:
9         wget -O $@ "http://www.geneimprint.com/site/genes-by-species.Homo+sapiens"
10
11
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"
14
15 geneimprint_human.txt: geneimprint_human.html parse_geneimprint.pl
16         ./parse_geneimprint.pl $< > $@
17
18 parent_of_origin.txt: parent_of_origin.html parse_parent_of_origin.pl
19         ./parse_parent_of_origin.pl $< > $@
20
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 $^),$^) $@
24
25 imprinted_genes_information.txt: imprinted_genes.txt
26         ~/projects/chaim/bin/gene_info < $< > $@