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