Mercurial > repos > yutaka-saito > bsfcall
view bin/fastq-interleave @ 2:f274c166e738 default tip
remove comments in bsfcall_wrapper.xml
| author | yutaka-saito |
|---|---|
| date | Sun, 19 Apr 2015 23:02:04 +0900 |
| parents | 06f8460885ff |
| children |
line wrap: on
line source
#! /bin/bash # Reads 2 fastq files, and writes them interleaved. # Assumes 1 fastq per 4 lines, i.e. no line wrapping. paste <(cat "$1" | paste - - - -) <(cat "$2" | paste - - - -) | tr '\t' '\n' # Is this better? #paste <(zcat -f "$1"|paste - - - -) <(zcat -f "$2"|paste - - - -)|tr '\t' '\n' # This does not interpret "-" as stdin: #paste <(paste - - - - < "$1") <(paste - - - - < "$2") | tr '\t' '\n'
