![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Specifying the region with "samtools mpileup -r " changes the output calls | vplagnol | Bioinformatics | 0 | 06-07-2012 05:26 AM |
SAMTools region switch | ashkot | Bioinformatics | 3 | 01-04-2012 01:31 AM |
mpileup: specified region truncated. | lbthrice | Bioinformatics | 3 | 11-15-2011 01:59 PM |
Samtools 'import' and lost read group header | mrxcm3 | Bioinformatics | 2 | 10-31-2010 11:05 AM |
samtools specific region | dnusol | Bioinformatics | 10 | 03-19-2010 12:08 PM |
![]() |
|
Thread Tools |
![]() |
#1 |
Member
Location: Germany Join Date: Oct 2012
Posts: 48
|
![]()
Hi everyone!
After busily mapping my tons of reads and generating and merging BAM files I have reached the next level of confusion... ![]() I wanna try some consensus/SNP calling; but only for a region (using the -r option); or in my case; a scaffold. My ref genome is the result of a shotgun assembly and contains various scaffolds. They are named as follows (as an example): gi|123456789|ref|NW_123456789.1| The 123456789 are just models of course...how the hell do I select one of the scaffolds as a region? No matter what I put in, I get the wrong scaffold (always the first in the genome) as output... or I get BAM parsing errors! ![]() |
![]() |
![]() |
![]() |
#2 |
Peter (Biopython etc)
Location: Dundee, Scotland, UK Join Date: Jul 2009
Posts: 1,543
|
![]()
The pipe characters (vertical bars) may need to be escaped (written as \| or slash pipe) or the region argument enclosed in quotes - otherwise the pipe symbol has the meaning at the command line of piping to the next command.
Perhaps you could show us an actual example copy and pasted from your terminal? |
![]() |
![]() |
![]() |
#3 |
Member
Location: Germany Join Date: Oct 2012
Posts: 48
|
![]()
OMG!
![]() ![]() Thank you so much maubp! ![]() |
![]() |
![]() |
![]() |
Thread Tools | |
|
|