It appears that samtools is not using reads which are not marked as proper pairs. This was my problem, and it led me to this thread. I fixed it with bamtools resolve.
Unconfigured Ad
Collapse
X
-
Need more information!
Dear All,
Could you please let me know what is rangehg18.chr?
Originally posted by Richard Finney View PostYou can force samtools mpileup with pipe to bcftools to produce lots'o'info like this ...
samtools mpileup -R -d 1000 -l rangehg18.chr -uf hg18.fa in.bam | bcftools view -g - > out.vcf
Note the -g parameter, it forces calls and outputs for all locations.
Check why you're not getting calls in the details of the VCF file.
You can write your own caller based on the VCF information if you need to.Last edited by Soumya18; 02-15-2018, 09:35 PM.
Comment
-
The "-l parameter " (i.e. "dash el") specifies a file of (genomic postions) OR (genomic ranges in bed format) to produce output for. Regions OR positions not specified are dropped (not produced in output, i.e. "skipped").
typing "samtools mpileup" on the command line provides information on all the parameters appropriate to the "mpileup" feature of samtools.
bash-3.2$ samtools mpileup
Usage: samtools mpileup [options] in1.bam [in2.bam [...]]
Input options:
-6, --illumina1.3+ quality is in the Illumina-1.3+ encoding
... [ deleted stuff ]
-G, --exclude-RG FILE exclude read groups listed in FILE
-l, --positions FILE skip unlisted positions (chr pos) or regions (BED)
... [ deleted stuff ]
Comment
Latest Articles
Collapse
-
by SEQadmin2
CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).
Despite this, “CRISPR helped turn genome editing from a specialized technique into...-
Channel: Articles
07-31-2026, 11:01 AM -
ad_right_rmr
Collapse
News
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by SEQadmin2, Today, 10:32 AM
|
0 responses
1 view
0 reactions
|
Last Post
by SEQadmin2
Today, 10:32 AM
|
||
|
Started by SEQadmin2, 08-20-2026, 11:17 AM
|
0 responses
25 views
0 reactions
|
Last Post
by SEQadmin2
08-20-2026, 11:17 AM
|
||
|
Started by SEQadmin2, 08-18-2026, 10:05 AM
|
0 responses
29 views
0 reactions
|
Last Post
by SEQadmin2
08-18-2026, 10:05 AM
|
||
|
Started by SEQadmin2, 08-13-2026, 12:22 PM
|
0 responses
45 views
0 reactions
|
Last Post
by SEQadmin2
08-13-2026, 12:22 PM
|
Comment