Hi,
I am trying to align PE reads using bwa and something isn't working...
I tried bwa mem ref.fa read1.fq read2.fq > file.sam
but I get an error
[M::mem_pestat] skip orientation FF as there are not enough pairs
[M::mem_pestat] skip orientation FR as there are not enough pairs
[M::mem_pestat] skip orientation RF as there are not enough pairs
[M::mem_pestat] skip orientation RR as there are not enough pairs
I also tried using SAMPE: i.e. I created two seperate sai files and ran
bwa sampe ref.fa read1.sai read2.sai read1.fq read2.fq > file.sam
and the file I end up with has like two reads in it...
can someone point out what I am doing wrong? Thanks!
This is not an error, it's an information. Convert created SAM file to BAM file, sort it with samtools and check alignments statistics by samtools flagstat. You will see then how many reads were aligned etc. Best, Agata
No worries.
check this out: Error while running BWA mem
It's possible that your read pairing is broken, or that you're using the wrong reference so nothing is aligning, or the quality is too low for anything to align. Lots of possibilities - I suggest you start by stating what organism you are working with and BLASTing or Sketching the reads to see what they are, and running FastQC and posting the results. Also, the first 10 read headers from each file would be helpful, as well as any information you have about what platform they came from and how they have been preprocessed.
I added markup to your post for increased readability. You can do this by selecting the text and clicking the 101010 button. When you compose or edit a post that button is in your toolbar, see image below: