Entering edit mode
2.5 years ago
ja4123
▴
30
Hi! I would like to convert fastq file to bam i in oneliner: I have tried:
bowtie2 -x {input.index}/hg19.zip -U {input.fastq} | samtools view -b -o {output}
but it does not work. Anyone know how to do it? Kindly help.
this is a useful link from the htslib docs https://www.htslib.org/workflow/fastq.html
if you wanted to use bowtie instead of minimap2, you can swap it out