]> git.donarmstrong.com Git - imprinted_genes.git/blob - Makefile
add code to calculate the imprinted genes of mouse
[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 geneimprint_mouse.html:
12         wget -O $@ "http://www.geneimprint.com/site/genes-by-species.Mus+musculus"
13
14
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"
17
18
19 geneimprint_human.txt: geneimprint_human.html parse_geneimprint.pl
20         ./parse_geneimprint.pl $< > $@
21
22 geneimprint_mouse.txt: geneimprint_mouse.html parse_geneimprint.pl
23         ./parse_geneimprint.pl $< > $@
24
25 parent_of_origin.txt: parent_of_origin.html parse_parent_of_origin.pl
26         ./parse_parent_of_origin.pl $< > $@
27
28 parent_of_origin_mouse.txt: parent_of_origin.html parse_parent_of_origin.pl
29         ./parse_parent_of_origin.pl --taxon Mouse $< > $@
30
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 $^),$^) $@
34
35 imprinted_genes_information.txt: imprinted_genes.txt
36         ~/projects/chaim/bin/gene_info < $< > $@
37
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 $^),$^) $@