Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vanisha
    Member
    • Nov 2009
    • 21

    #1

    plink files to vcf conversion

    Is there anyway to convert plink (.map,.ped) files back to vcf?

    I originally converted vcf to plink format files using vcftools, applied some QC in plink and now want to call the QC'd variants using Annovar - however Annovar doesn't accept plink file format, or does it? I can't see on website. Any help/advice is appreciated

    Cheers
  • nilshomer
    Nils Homer
    • Nov 2008
    • 1283

    #2
    Looks like the Broad may have a solution: http://www.broadinstitute.org/gsa/wi...ing_ped_to_vcf
    Last edited by nilshomer; 11-29-2011, 06:51 PM.

    Comment

    • emilyjia2000
      Member
      • May 2011
      • 59

      #3
      Hi Vanisha,

      How did you convert VCF to PED using Vcftools? I tried it, but it generated error. I really appreciate your help.

      Thanks

      Comment

      • emilyjia2000
        Member
        • May 2011
        • 59

        #4
        I converted from VCF to PED format, but when I looked at the PED file, it didn't show which samples are affected or unaffected? I only got two files from the conversion, PED and MAP, I still need datfile to use in the linkage, anyone knows about it?
        Thanks a lot,

        Comment

        • Vanisha
          Member
          • Nov 2009
          • 21

          #5
          you can update phenotype in plink (--pheno) and you may have to make you're own .dat file for the linkage - sorry don't know much more

          Comment

          • bpb9
            Member
            • Aug 2012
            • 24

            #6
            I am also trying to convert a VCF file to plink format using vcftools, but the process never seems to result in a plink file. For example when I enter:

            ./vcftools --vcf filename.vcf --plink

            I see:

            VCFtools - v0.1.9.0
            (C) Adam Auton 2009

            Parameters as interpreted:
            --vcf filename.vcf
            --plink

            Reading Index file.
            Building new index file.
            Scanning Chromosome: chr1
            Warning - file contains entries with the same position. These entries will be processed separately.

            Scanning Chromosome: chr2
            Scanning Chromosome: chr3
            Scanning Chromosome: chr4
            Scanning Chromosome: chr5
            Scanning Chromosome: chr6
            Scanning Chromosome: chr7
            Scanning Chromosome: chr8
            Scanning Chromosome: chr9
            Scanning Chromosome: chr10
            Scanning Chromosome: chr11
            Scanning Chromosome: chr12
            Scanning Chromosome: chr13
            Scanning Chromosome: chr14
            Scanning Chromosome: chr15
            Scanning Chromosome: chr16
            Scanning Chromosome: chr17
            Scanning Chromosome: chr18
            Scanning Chromosome: chr19
            Scanning Chromosome: chr20
            Scanning Chromosome: chr21
            Scanning Chromosome: chr22
            Scanning Chromosome: chrX
            Scanning Chromosome: chrY
            Writing Index file.
            File contains 11725221 entries and 30 individuals.
            Applying Required Filters.
            After filtering, kept 30 out of 30 Individuals
            After filtering, kept 11725221 out of a possible 11725221 Sites
            Writing PLINK PED file ...
            PLINK: Only outputting biallelic loci.
            Segmentation fault: 11


            What is segmentation fault: 11 ? Is it the reason there is not a plink file output at the end of this process? Also, do I need to do something differently in order for this command to actually result in a plink files rather than a vcf?

            Many thanks...

            Comment

            • Vanisha
              Member
              • Nov 2009
              • 21

              #7
              Try this:
              --vcf file.vcf --out file.plink --plink

              However, it might be better instead of converting vcf to plink and then doing plink analysis, just use vcftools to do the plink QC; the format will still be VCF, and then use the QC'd VCF to perform any downstream analysis

              Comment

              • bpb9
                Member
                • Aug 2012
                • 24

                #8
                Thanks for the tips!

                Comment

                • bpb9
                  Member
                  • Aug 2012
                  • 24

                  #9
                  After having made the plink files from the VCF file, I tried to split them up by chromosome in plink but encountered the following error:

                  ERROR: Locus has >2 alleles:
                  individual has genotype [ G 0 ]
                  but we've already seen [ G ] and [ A ]

                  I thought 0 indicated a monomorphic SNP. I am very confused. I suppose I could try splitting up the vcf file by chromosome in vcftools and then converting to plink, but I don't see why that would get around the above issue. Would it help to recode only biallelic SNPs to plink format instead of all biallelic loci? Is there a way to do that? Any input is appreciated!

                  Comment

                  • sukesh14
                    Junior Member
                    • Sep 2016
                    • 2

                    #10
                    I would like to convert bed to vcf .. I tried using plink.. i could not follow the tutorial.. Can anyone help me

                    Thanks

                    Comment

                    • rajeshkmaurya08
                      Member
                      • Feb 2017
                      • 14

                      #11
                      Its is again showing warning like:

                      plink: unknown option "--file"
                      plink: unknown option "--make-bed"

                      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
                      27 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
                      43 views
                      0 reactions
                      Last Post SEQadmin2  
                      Working...