I have Fastq data of chicken heavy and light chains and I want to do pca plot on them. I know I have to convert them to BAM file first but I don't know which tool to use - FastqtoSam or Bowtie2. One gave me unaligned BAM and another gave aligned BAM. Then, I used multiBAMsummary tool to see which file was correct but both BAM file gave me an error saying file '0.bam' does not have BAM or CRAM format.
If you want BAM files outputs you can use Rsubread package on R software or use bowtie2 to have SAM format witch you can transform to BAM format with Samtools. They are many tools for this kind of analysis, you can find them in literature. Best regards.
Ok I'll try it. Thank you!
Did you sort and index your aligned BAM file?
No, how do I do that?
A: samtools sorting and indexing
samtools sorttool followed by
samtools indexin Galaxy interface.
Ok. I'll give it a try. Thank you!
What are you trying to find out?
That makes sense. Bowtie2 is an aligner, FastqToSam probably just takes the reads and sticks them in a SAM/BAM format. We can't say which one is right for you without knowing what your goal is. The unaligned one is likely only useful for compatibility with tools expecting a BAM file
Can you post the exact command you used? What size are your input BAM files?
I have 2 treatment groups - control and probiotic for chicken heavy and light chain. I'm trying to look at the variability of sequences between those treatment group.
I used multiBamsummary under deep Tools. I just noticed the file size says 0 bytes. The run showed up green so I automatically assume that it worked.