Hi guys!
I indexed a reference genome with the bwa index command. I then aligned a fastq file on it and obtained several gigabytes sam alignment file. When I use the "samtools mpileup" command I get only few thousands of bases aligned. For the samtools command I use the reference genome that I indexed with bwa (by the command bwa index referenceGenome.fasta). Is this ok? Or do I need to index the reference genome again by using the command samtools faidx?
Thanks for your help!
I indexed a reference genome with the bwa index command. I then aligned a fastq file on it and obtained several gigabytes sam alignment file. When I use the "samtools mpileup" command I get only few thousands of bases aligned. For the samtools command I use the reference genome that I indexed with bwa (by the command bwa index referenceGenome.fasta). Is this ok? Or do I need to index the reference genome again by using the command samtools faidx?
Thanks for your help!
Comment