]> git.donarmstrong.com Git - diamond_presentation.git/commitdiff
add rules to download figures
authorDon Armstrong <don@donarmstrong.com>
Wed, 14 Oct 2015 22:20:31 +0000 (17:20 -0500)
committerDon Armstrong <don@donarmstrong.com>
Wed, 14 Oct 2015 22:20:31 +0000 (17:20 -0500)
diamond_paper_figures/.gitignore [new file with mode: 0644]
diamond_paper_figures/Makefile [new file with mode: 0644]

diff --git a/diamond_paper_figures/.gitignore b/diamond_paper_figures/.gitignore
new file mode 100644 (file)
index 0000000..49d14dd
--- /dev/null
@@ -0,0 +1,10 @@
+diamond_F1.jpg
+diamond_SF1.jpg
+diamond_SF2.jpg
+diamond_SF3.jpg
+mblast_1.png
+mblast_2.png
+mblast_3.png
+mblast_4.png
+mblast_5.png
+mblast_6.png
diff --git a/diamond_paper_figures/Makefile b/diamond_paper_figures/Makefile
new file mode 100644 (file)
index 0000000..71fbc22
--- /dev/null
@@ -0,0 +1,17 @@
+#!/usr/bin/make -f
+
+DIAMOND_FIGURES=$(patsubst %,diamond_%.jpg,F1 SF1 SF2 SF3)
+
+MBLAST_FIGURES=$(patsubst %,mblast_%.png,1 2 3 4 5 6)
+
+all: $(DIAMOND_FIGURES) $(MBLAST_FIGURES)
+
+
+
+$(DIAMOND_FIGURES): diamond_%.jpg: 
+       wget -O $@ "http://www.nature.com/nmeth/journal/v12/n1/images/nmeth.3176-$*.jpg"
+
+$(MBLAST_FIGURES): mblast_%.png:
+       wget -O temp.gif "http://www.omicsonline.org/JDMGPimages/2153-0602-4-135-g00$*.gif"
+       convert temp.gif $@
+       rm -f temp.gif