Skip to content

Commit

Permalink
Editing based on problems encountered with make tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
pschloss authored Apr 25, 2018
1 parent 6034471 commit 8a7fb88
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,16 @@ FINAL = submission/
print-%:
@echo '$*=$($*)'

MAKEFLAGS += --warn-undefined-variables
SHELL := bash
.SHELLFLAGS := -eu -o pipefail



################################################################################
#
# Part 1: Get the references
#
# We will need several reference files to complete the analyses including the
# SILVA reference alignment and RDP reference taxonomy.
# SILVA reference alignment and RDP reference taxonomy. Note that this code
# assumes that mothur is in your PATH. If not (e.g. it's in code/mothur/, you
# will need to replace `mothur` with `code/mothur/mothur` throughout the
# following code.
#
################################################################################

Expand Down Expand Up @@ -53,14 +51,14 @@ $(REFS)/silva.v4.align : $(REFS)/silva.seed.align

$(REFS)/trainset14_032015.% :
wget -N http://www.mothur.org/w/images/8/88/Trainset14_032015.pds.tgz
tar xvzf Trainset14_032015.pds.tgz trainset14_032015.pds/trainset14_032015.pds.*
tar xvzf Trainset14_032015.pds.tgz trainset14_032015.pds
mv trainset14_032015.pds/* $(REFS)/
rmdir trainset14_032015.pds
rm -rf trainset14_032015.pds
rm Trainset14_032015.pds.tgz

################################################################################
#
# Part 2: Run data through mothur
# Part 2: Get and run data through mothur
#
# Process fastq data through the generation of files that will be used in the
# overall analysis.
Expand Down

0 comments on commit 8a7fb88

Please sign in to comment.