Created
February 23, 2016 02:12
-
-
Save yk-tanigawa/8491a953b520b68e6b72 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#usage: make SRA=XXXXX.sra | |
## commands | |
FASTQ-DUMP = /somewhere/fastq-dump | |
## files | |
FASTQ1 = $(SRA:%.sra=%_1.fastq) | |
FASTQ2 = $(SRA:%.sra=%_2.fastq) | |
all: $(FASTQ1) $(FASTQ2) | |
# obtain paired-end fastq files from sra file | |
$(FASTQ1) $(FASTQ2): $(SRA) | |
$(FASTQ-DUMP) --qual-filter --split-files $< |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment