Hello everyone
There are some topics concerning BWA and Samtools, but i still haven't found the solution to my problem...
Ok, here is what i do
1. I run BWA aln and I get a .sai file
2. I run BWA samse and I get a .sam file
So far so good.
But now i am having troubles using the 'pileup function'
As far as i understand i should use ./samtools -f ref.fna testing.sam
but it is giving me errors.
I am probably just using a wrong command or maybe i should convert the .sam file to a .bam file? I have tried this using:
samtools view -bt ref.fna -o out.bam testing.sam:sam_header_read2: Assertion `fp' failed.
samtools view -b ref.fna -o out.bam testing.sam:segmentation error
Anyone has the exact commando for me to got from BWA to 'pileup results' in samtools?
thx
There are some topics concerning BWA and Samtools, but i still haven't found the solution to my problem...
Ok, here is what i do
1. I run BWA aln and I get a .sai file
2. I run BWA samse and I get a .sam file
So far so good.
But now i am having troubles using the 'pileup function'
As far as i understand i should use ./samtools -f ref.fna testing.sam
but it is giving me errors.
I am probably just using a wrong command or maybe i should convert the .sam file to a .bam file? I have tried this using:
samtools view -bt ref.fna -o out.bam testing.sam:sam_header_read2: Assertion `fp' failed.
samtools view -b ref.fna -o out.bam testing.sam:segmentation error
Anyone has the exact commando for me to got from BWA to 'pileup results' in samtools?
thx
Comment