![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
paired-end vs. mate-pair | lre1234 | Bioinformatics | 8 | 04-05-2013 06:25 AM |
Are the mate-pair reads always shadowed by their friends the paired-end (picture) | seb567 | Illumina/Solexa | 1 | 07-15-2011 10:49 AM |
How to check if reads are properly paired in mate-pair data? | genepool_bee | Bioinformatics | 2 | 02-22-2011 02:07 AM |
bfast paired end flag | guavajuice | Bioinformatics | 0 | 11-02-2010 12:37 PM |
Difference between mate pair and pair end | bassu | General | 2 | 06-19-2010 07:13 AM |
![]() |
|
Thread Tools |
![]() |
#1 |
Junior Member
Location: canada Join Date: Apr 2009
Posts: 2
|
![]()
Hi,
Can someone tell me what flag I should grep for in order to obtain reads that are outward facing (mate pairs: <--- && ---> ) and what flags I should grep for in order to obtain reads that are inward facing (paired ends: --> && <---)? many thanks Les p.s. I have consulted the picard's useful site at http://picard.sourceforge.net/explain-flags.html but what confuses is me that the definition of "proper pair" etc which is dependent on the aligner's definition based on the insert size. |
![]() |
![]() |
![]() |
#2 |
Peter (Biopython etc)
Location: Dundee, Scotland, UK Join Date: Jul 2009
Posts: 1,543
|
![]()
Right now, I don't think this is possible.
The FLAG doesn't record the pairing direction, just if the aligner/assembler says it was correct or not. In principle this could be recorded as part of the read group @RG line, but I don't think that has been standardised yet. You could raise this on the samtools-devel mailing list. |
![]() |
![]() |
![]() |
#3 | |
Junior Member
Location: canada Join Date: Apr 2009
Posts: 2
|
![]() Quote:
I thought, 99,147 and 83,163 are the flags for "proper pair" (i.e. --> <--) within insert size. For mate-pair (outward facing) the flag is 115, 179 for concordant (within insert size) and 113,177 for discordant. thanks |
|
![]() |
![]() |
![]() |
#4 |
Peter (Biopython etc)
Location: Dundee, Scotland, UK Join Date: Jul 2009
Posts: 1,543
|
![]()
The problem is "proper pair" is context dependent, it could be --> <-- for Illumina paired end, <-- --> for Illumina mate pairs, or --> --> for Roche pairs, or --> --> ---> ... --> for strobed reads.
What you can do is look at the FLAG as see for any pair of reads were they --> <-- etc, and if they were "properly paired", but that just tells you how they mapped, not what the library construction should have been. This also won't help for when only one of a pair is mapped, or neither. Perhaps I misunderstood you - that may be all you want to do? |
![]() |
![]() |
![]() |
#5 | |
Senior Member
Location: San Diego Join Date: May 2008
Posts: 912
|
![]() Quote:
|
|
![]() |
![]() |
![]() |
#6 | |
Senior Member
Location: USA, Midwest Join Date: May 2008
Posts: 1,178
|
![]() Quote:
A proper set of mate-pair reads would have exactly the same flag values as a proper set of paired-end reads (83,163 or 99,147). It is up to the alignment software to decide whether the pair is proper based on relative orientation and distance of reads 1 & 2 and the stated methodology. |
|
![]() |
![]() |
![]() |
Tags |
mate-pair, outward facing, samtools flag |
Thread Tools | |
|
|