hello
again me...!
I did these steps:
In command prompt I typed bowtie2-build-s.exe example/reference/lambda_virus.fa lambda_virus
then bowtie2-align-s.exe -x lambda_virus -U example/reads/reads_1.fq -S eg1.sam
and at last after trying many times!!! I got this:
10000 reads; of these:
10000 (100.00%) were unpaired; of these:
596 (5.96%) aligned 0 times
9404 (94.04%) aligned exactly 1 time
0 (0.00%) aligned >1 times
94.04% overall alignment rate
Is the result in SAM format? If not how I can convert it to SAM format, then how I can convert obtained SAM to BAM? (windows7-64bit)
Also being dealt with here please some one help me step by step i was really exhausted
Thank you very much
For sure without your valuable help, I couldn't get any success easily
Hello
After copying
eg1.sam
file fromC:\bowtie2-2.2.4\bowtie2-2.2.4
toc:\samtools
then I typedit said:
but when I typed
samtools view -bh -o eg1.bam eg1.sam
instead,It said:
Sorry may I know please, if those two commands are different that I got different results?
In second command why I received error?
In this command:
samtools.exe view -Sb eg1.sam > eg1.bam
You didn't include the -h parameter, so the header wasn't written into the BAM file. When you subsequently tried to read the BAM file, there was no header and samtools error'ed out.
thank you