Dear Biostar users,
I am using bbmerge to create interleaved file using my paired end data.
$TOOLS_FOLDER/bbmap/bbmerge.sh \
threads=4 \
in1=${s} \
in2=${s%1*}2.final.clean.fq \
out=${s%1*}merged.final.clean.fq \
outu1=${s%1*}1.unmerged.final.clean.fq \
outu2=${s%1*}2.unmerged.final.clean.fq \
mininsert=60 \
My question is can I concatenate the merged output which is (${s%1*}merged.final.clean.fq)` with my unpaired read output from bbwrap command ? Shown below:
$TOOLS_FOLDER/bbmap/bbwrap.sh \
threads=16 \
trimq=20 \
minlength=60 \
in=${s},${s%1*}unpaired.trimmoclean.sickleclean.bbdukclean.fq \
in2=${s%1*}2.trimmoclean.sickleclean.bbdukclean.fq,NULL \
outu1=${s%1*}1.final.clean.fq \
outu2=${s%1*}2.final.clean.fq \
outu=${s%1*}u.clean.fq \
path=${REFERENCE_FOLDER}/mouse/
Thank you
Looking forward for reply!