hello,
I am using the pipeline
samtools view -f 12 -F 256 aligned-sorted-deduplicated.bam | samtools sort -n - | samtools fastq -1 paired1.fq -2 paired2.fq -0 /dev/null -s /dev/null -N -
to generate fastq files but I get empty fastq files. Yet I got the sequence:
aligned-sorted-deduplicated.bam 65 Gb
unmapped.bam 7 Kb
unmapped-sorted 3 Kb
paired1.fq 0 By
Why is that? If there are data (not much, but still 3 Kb) in the sorted file, why there is nothing in the fast files? Thanks