Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • diego diaz
    Member
    • Oct 2013
    • 62

    #1

    strange behavior in vcftools

    Hi all,

    I want to split my VCF file into two files, one with SNPs and another with INDELs. To that I am using VCF tools, with the following sentences:

    # to keep only SNPs
    vcftools --vcf myvariants.vcf --remove-indels --recode-INFO-all --out only_SNPs --recode

    # to keep only INDELs
    vcftools --vcf myvariants.vcf --keep-only-indels --recode-INFO-all --out only_INDELs --recode

    but when I check the files, I get this:

    INDELs:

    Code:
    #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT
    CM003279.1      1274    C       A       999     .
    CM003279.1      3637    A       C       157     .
    CM003279.1      3788    GCCCC   GCCCCC  130     .
    CM003279.1      3879    A       C       999     .
    .
    .
    .
    SNPs:

    Code:
    #CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO    FORMAT
    CM003279.1      25370   TAAA    TAA     999     .
    CM003279.1      75537   TACAC   TAC     999     .
    CM003279.1      77780   ACATCA  ACA     999     .
    CM003279.1      3177577 CTTT    CTT     999     .
    .
    .
    .
    The splitting process doesn't make any sense, I have SNPs and INDELs in both files (I didn't add the genotype data here because it would be very difficult trying to read it)

    In attachment the firts lines of my original VCF file.

    I am pretty sure that the problem comes from my VCF file, not from vcftools, but I can't see the problem.

    is there a tool to check if a vcf file is malformed?

    Thanks in advance
    Attached Files
    Last edited by diego diaz; 07-20-2015, 05:51 PM.
  • diego diaz
    Member
    • Oct 2013
    • 62

    #2
    I forgot to mention that the variants were called in the scaffolds not in the chromosomes, then I had to code a custom script to transform scaffolds coordinates into chromosomes coordinates, maybe during the process I forgot to put something but I can't see it.

    Comment

    Latest Articles

    Collapse

    • SEQadmin2
      Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
      by SEQadmin2



      Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

      Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
      ...
      10-14-2026, 09:55 AM
    • SEQadmin2
      New Genomics Technologies Take Aim at Long-Standing Limits
      by SEQadmin2


      Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

      We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
      ...
      09-28-2026, 10:25 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 10-22-2026, 11:13 AM
    0 responses
    23 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-22-2026, 10:48 AM
    0 responses
    20 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-15-2026, 10:52 AM
    0 responses
    36 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-14-2026, 05:39 AM
    0 responses
    42 views
    0 reactions
    Last Post SEQadmin2  
    Working...