Skip to content

Commit

Permalink
Format fastq lines to not have descriptions
Browse files Browse the repository at this point in the history
Workaround for biobakery/kneaddata#17
  • Loading branch information
wbazant committed Feb 23, 2021
1 parent 89ae5f2 commit f9d86c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/getFastqFromSraPaired
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [ ! -f "./${runId}.sra" ] ; then
exit 1
fi

fastq-dump -B -I --split-files ./${runId}.sra
fastq-dump -B --defline-seq '@$si/$ri' --defline-qual '+' --split-files ./${runId}.sra

if [ ! -f "${runId}_1.fastq" -o ! -f "${runId}_2.fastq" ] ; then
echo "fastq-dump didn't work as expected? ${runId}_{1,2}.fastq expected"
Expand Down
2 changes: 1 addition & 1 deletion bin/getFastqFromSraSingle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [ ! -f "./${runId}.sra" ] ; then
exit 1
fi

fastq-dump -B -I --split-spot --skip-technical ./${runId}.sra
fastq-dump -B --defline-seq '@$si' --defline-qual '+' --split-spot --skip-technical ./${runId}.sra

if [ ! -f "${runId}.fastq" ] ; then
echo "fastq-dump didn't work as expected? ${runId}.fastq expected"
Expand Down

0 comments on commit f9d86c5

Please sign in to comment.