Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CowGirl
    Junior Member
    • Mar 2013
    • 9

    #1

    Vcftools output in "012" format is empty

    Hi everyone,
    I've been trying to get vcftools to alter my vcf files (97 samples, around 1,000,000 variants) into matrix format, however the ".012" file is always empty .
    The other files (FILENAME.012.indv, FILENAME.012.pos) are fine (i.e. the IDs of the 97 are listed in FILENAME.012.indv and the variant positions are listed in FILENAME.012.pos). There is no error message, and the log file looks good.

    Here's my command line:
    vcftools --gzvcf TEST.vcf.gz --012 --out TEST

    I did notice that there are 97 emtpy lines in the FILENAME.012 file, coinciding with the number of samples I've got in my original .vcf file.

    When I try this with the --plink option, I don't get any output either, but the --plink-tped seems to work fine.

    Any ideas whats going on here and how I can get my .vcf file into 0 1 2 format?

    Help very much appreciated,
    Chris
  • chrchang
    Member
    • Jun 2013
    • 15

    #2
    If a slightly different format is ok (main body is 012, but marker/sample IDs are saved differently), try

    plink --vcf TEST.vcf.gz --recode A --out TEST

    (this requires plink 1.9)

    Comment

    • CowGirl
      Junior Member
      • Mar 2013
      • 9

      #3
      Hi Chrchang,

      super, thanks for the tip!

      Works like a charm, but I had to include "--cow" to adjust the number of chromosomes PLINK should read.

      It would still be good to know whats happening with the vcftools results - anyone have an idea whats going on there? And why there's no error message?

      Thanks,
      Chris
      Last edited by CowGirl; 07-10-2014, 12:27 AM.

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        How Immunogenomics Decodes Immunity’s Genetic Blueprint
        by SEQadmin2




        The immune system’s power comes from its genetic diversity, allowing myriad threats to be neutralized through first recognizing foreign antigens. That diversity is also what makes the immune system so difficult to study. Recent advances in sequencing technology and computational biology, however, are giving researchers new tools to understand immune responses and immune-related diseases in greater detail.

        This convergence of genetics, immunology, and computation...
        Yesterday, 05:41 AM
      • 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

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 08-24-2026, 10:32 AM
      0 responses
      42 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-20-2026, 11:17 AM
      0 responses
      48 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-18-2026, 10:05 AM
      0 responses
      55 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 08-13-2026, 12:22 PM
      0 responses
      50 views
      0 reactions
      Last Post SEQadmin2  
      Working...