Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ekg
    Member
    • Apr 2010
    • 36

    #16
    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.

    Comment

    • Soumya18
      Junior Member
      • Feb 2018
      • 1

      #17
      Need more information!

      Dear All,

      Could you please let me know what is rangehg18.chr?

      Originally posted by Richard Finney View Post
      You 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

      • Richard Finney
        Senior Member
        • Feb 2009
        • 701

        #18
        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

        • SEQadmin2
          The Factors Reshaping Genome Assembly
          by SEQadmin2



          When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...
          Today, 07:04 AM
        • SEQadmin2
          16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
          by SEQadmin2





          NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
          10-30-2026, 06:46 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Yesterday, 11:11 AM
        0 responses
        14 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-17-2026, 06:27 AM
        0 responses
        39 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-12-2026, 07:59 AM
        0 responses
        55 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 11-05-2026, 09:25 AM
        0 responses
        62 views
        0 reactions
        Last Post SEQadmin2  
        Working...