Question: How to add prefix to samtools collate
0
gravatar for MAPK
3 months ago by
MAPK1.7k
MAPK1.7k wrote:

I am trying to run this command in loop. While doing so I am getting error for tmp directory having no space in collate step. I saw that samtools manual mentioning about prefix, but I am not sure how to redirect to temporary files to desired /path using prefix.

samtools collate -uO ${INBAM} | samtools fastq - -@ ${THREADS} -N -1 ${FQ_OUT1} -2 ${FQ_OUT2} -0 /dev/null -s /dev/null -n

What do I need to do to direct any temporary data to my designated /path?

samtools • 191 views
ADD COMMENTlink modified 3 months ago by ATpoint46k • written 3 months ago by MAPK1.7k
2
gravatar for ATpoint
3 months ago by
ATpoint46k
ATpoint46k wrote:

Usage: samtools collate [-Ou] [-o <name>] [-n nFiles] [-l cLevel] <in.bam> [<prefix>]

samtools collate -uO ${INBAM} ${INBAM}_prefix | samtools fastq - -@ ${THREADS} -N -1 ${FQ_OUT1} -2 ${FQ_OUT2} -0 /dev/null -s /dev/null -n
ADD COMMENTlink written 3 months ago by ATpoint46k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1012 users visited in the last hour
_