Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spyf89
    Junior Member
    • Aug 2014
    • 2

    #1

    Missing chromosomes in vcf output

    **UPDATE**

    Problem solved. The local version of the .fai index file I was using only contained chromosome 1. Version on the server that I accidentally checked multiple times was fine. Whoops.

    Hello everyone!

    I have bam files for several histone ChIP-seq and RNA-seq experiments and I am attempting to call SNPs. I used the following command successfully with the ChIP-seq data:

    Code:
    samtools mpileup -uD -f hg19.fa INPUT.bam | bcftools view -bcvg - > INPUT_raw.bcf; 
    bcftools view DL237_INPUT_raw.bcf | vcfutils.pl varFilter -D100 > INPUT.vcf;
    For the RNA-seq data, the sequencing center changed their pipeline and I needed a different ENSEMBL build for mpileup:

    Code:
    samtools mpileup -uD -f Homo_sapiens.GRCh37.72.dna_rm.toplevel.fa.gz RNA.bam | bcftools view -bcvg - > RNA_raw.bcf; 
    bcftools view RNA_raw.bcf | vcfutils.pl varFilter -D100 > RNA.vcf;
    Everything seemed to run smoothly until the final step. I get no errors and no indication of a problem.
    The output VCF starts out just like all the others but doesn't have entries for any chromosomes except for chromosome 1.
    If I take out the vcfutils.pl varFilter step and run:

    Code:
    samtools mpileup -uD -f Homo_sapiens.GRCh37.72.dna_rm.toplevel.fa.gz RNA.bam | bcftools view -bcvg - > RNA_raw.bcf; 
    bcftools view RNA_raw.bcf > RNA.vcf;
    I end up with a MASSIVE vcf file with SNPs called for all chromosomes and no errors. The problem seems to be in the vcfutils.pl step but I have used this script successfully with other files. I'm not sure what else to try/where the problem might be. Any advice? And please let me know if any additional information would be helpful! *Note* I am limitedly familiar with this pipeline and am doing this as a favor for a lab mate who is out of town.
    Last edited by spyf89; 08-13-2014, 07:01 AM.
  • swbarnes2
    Senior Member
    • May 2008
    • 910

    #2
    First thing to check...I wonder if one file is sorted chr1, chr2, chr3...and the other chr1, chr10, chr11...

    That discrepancy might explain why the file stops at Chr1.

    Comment

    • spyf89
      Junior Member
      • Aug 2014
      • 2

      #3
      I'll definitely check that out. I sorted the bam to see if that fixed the problem (no luck) but perhaps they are sorted differently.

      The only reason I think this might not fix things is because, without the vcftools.pl varFilter step, there are SNPs called across all chromosomes. The information seems to be in order in the .bcf file...it's just not getting through the filtering step.

      Thank you for the response!

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
        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
        ...
        07-31-2026, 11:01 AM
      • SEQadmin2
        Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
        by SEQadmin2


        Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

        The systematic characterization of the human proteome has
        ...
        07-20-2026, 11:48 AM
      • SEQadmin2
        Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
        by SEQadmin2



        Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
        ...
        07-09-2026, 11:10 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 08-06-2026, 07:41 AM
      0 responses
      13 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-03-2026, 10:13 AM
      0 responses
      30 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-31-2026, 02:55 AM
      0 responses
      40 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-24-2026, 12:17 PM
      0 responses
      26 views
      0 reactions
      Last Post SEQadmin2  
      Working...