Closed NikTuzov closed 4 months ago
Yes, definitely valid -- all it's doing is converting the BAM to FASTQ files, which you can then supply to kallisto.
Thank you for a prompt reply.
One more question: are there any reservations/concerns if the BAM files are produced by Cell Ranger?
I don't see a problem with it. As long as they contain the reads, it's fine.
Hello Delaney:
Is it possible to run that kind of analysis on BAM files instead of FASTQ? Here I found a suggestion to convert BAM to FASTQ as:
samtools collate -n 128 -u -O -@ $threads "$sample.bam" /tmp/bam-to-fastq- \ | samtools fastq -F 0x900 -@ $threads \ -0 /dev/null \ -1 "${sample}_1.fastq.gz" \ -2 "${sample}_2.fastq.gz" \ -s "$sample.fastq.gz" -
Is this a valid approach?
Regards, Nik