![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
'Properly paired' reads in sam flag from TopHat mapping | AdamB | Bioinformatics | 9 | 03-08-2012 08:30 AM |
Help me!!!!! low % of properly paired reads!!! | Trudy | Bioinformatics | 1 | 05-25-2011 12:26 AM |
SAM file for paired-end | ECHo | RNA Sequencing | 0 | 04-21-2011 11:55 PM |
How to check if reads are properly paired in mate-pair data? | genepool_bee | Bioinformatics | 2 | 02-22-2011 02:07 AM |
Paired read names / SAM qname format | misko | Bioinformatics | 2 | 06-30-2010 11:14 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: Boston Join Date: Apr 2010
Posts: 14
|
![]()
I am new for NGS data.
How to check reads are properly paired from SAM file? It is appreciated someone can point me some programs? Thanks, Aimin |
![]() |
![]() |
![]() |
#2 |
Nils Homer
Location: Boston, MA, USA Join Date: Nov 2008
Posts: 1,285
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Location: Boston Join Date: Apr 2010
Posts: 14
|
![]()
Thanks, I tried, but I got this error:
[aimin@node01 all_sam_data]$ samtools view -X 1382_1.sam/1382_1.sam [bam_header_read] EOF marker is absent. [main_samview] fail to read the header. |
![]() |
![]() |
![]() |
#4 |
Nils Homer
Location: Boston, MA, USA Join Date: Nov 2008
Posts: 1,285
|
![]()
Use the "-S" flag to specify that you are inputting a SAM file (not a BAM file). Please read the documentation, including the output when no options/input is specified.
|
![]() |
![]() |
![]() |
#5 |
Member
Location: Boston Join Date: Apr 2010
Posts: 14
|
![]()
but I got this:
[aimin@node01 all_sam_data]$ samtools view -S -X 1382_1.sam/1382_1.sam -o 1382_1_test.out [samopen] no @SQ lines in the header. [sam_read1] missing header? Abort! What I should do now? |
![]() |
![]() |
![]() |
#6 |
Nils Homer
Location: Boston, MA, USA Join Date: Nov 2008
Posts: 1,285
|
![]()
The lines "no @SQ lines in the header" and "missing header?" should tell you to check the header in the SAM file. Is there one? If not, you have to feed in your reference with the "-T" option.
|
![]() |
![]() |
![]() |
Tags |
paired end |
Thread Tools | |
|
|