Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • mrw3288
    Junior Member
    • Jun 2013
    • 5

    Haplotype frequencies

    I am interested in looking at some very short regions (~200 bp) in the human genome which contain ~15 SNPs. So, taking for instance Phase 3 phased haplotype data (vcf) from 1000 genomes (~2500 individuals), I would like to identify all the different haplotypes and count them, thus allowing me to obtain the haplotype frequencies in this sample of individuals.

    I have tried using 'vcfgeno2haplo' and 'vcf2tsv' which are part of vcflib on Galaxy but I cannot the first to accept my data; can someone suggest how I might do this or where I should look?

    There's an interesting tool described at

    for visualizing this information but it does not enable one to pull out the statistical data that I need.

    Thanks.
  • cowman
    Member
    • Jan 2011
    • 14

    #2
    I am trying to answer the same question but on a genome scale. What are the haplotype frequencies at each locus across all loci.
    Plink --blocks will generate lists of haplotype blocks but there is only one block per locus which implies a maximum of two haplotypes per locus in a population which cannot always be true.
    Impute and Shapeit will phase genotype data but I have not found any sets of haplotype blocks assoicated with them so even if their models contemplate more than two haplotypes at a locus it is not possible to estract this information from the phased data.
    Any ideas about how I should find the number and frequencies of haploytpes at each locus in the 1000 genomes data?

    Comment

    • mrw3288
      Junior Member
      • Jun 2013
      • 5

      #3
      A colleague of mine should supply the code. But I don't understand what you mean by "at each locus across all loci"; what is your "locus" or what sort of "marker" are you considering?

      Comment

      • cowman
        Member
        • Jan 2011
        • 14

        #4
        Hi Mrw3288, thanks for your reply.
        I mean SNP loci. I will be working with 1000 genomes data. I want to know the number of haplotypes at each SNP locus in the genome in each population in the data set.
        However locus can be a flexible concept and I could work with windows of say 10kb.

        Comment

        • mrw3288
          Junior Member
          • Jun 2013
          • 5

          #5
          So next what do you mean by "at each SNP locus"? You need at least two (adjacent) SNPs (along a chromosome) to start making a haplotype.
          Anyway, if I solve my question (200 bp window) I should be able to solve yours (10 kb window), and I'll let you know if/when that happens.

          Comment

          • cowman
            Member
            • Jan 2011
            • 14

            #6
            True, but haplotypes have boundaries at SNP so the number of haplotypes associated with one SNP may be different from the adjacent SNP. The resolution that I will work to will partly depend on speed and practicality.
            I will look forward to hearing of your solution.

            Comment

            • mrw3288
              Junior Member
              • Jun 2013
              • 5

              #7
              Here (attached) is a partial solution; it's an R script written by my colleague Jaqueline Wang. Ignore the comments in Portuguese. Put the script and your *.vcf.gz (eg sliced from 1000genomes) file in the same directory and run the script. The output is a *.tsv file. You'll have to slice the vcf according to your needs.
              Attached Files

              Comment

              • cowman
                Member
                • Jan 2011
                • 14

                #8
                Thanks a lot for that. I will let you know how I get on.

                Comment

                • Sofia T
                  Junior Member
                  • Jan 2022
                  • 1

                  #9
                  Originally posted by mrw3288 View Post
                  Here (attached) is a partial solution; it's an R script written by my colleague Jaqueline Wang. Ignore the comments in Portuguese. Put the script and your *.vcf.gz (eg sliced from 1000genomes) file in the same directory and run the script. The output is a *.tsv file. You'll have to slice the vcf according to your needs.
                  Hi! I would be very interested in this script, but it is not available for download now. Would you be able to share it again? Thank you!

                  Comment

                  • mrw3288
                    Junior Member
                    • Jun 2013
                    • 5

                    #10
                    Originally posted by Sofia T View Post
                    Hi! I would be very interested in this script, but it is not available for download now. Would you be able to share it again? Thank you!
                    Hi. The project is finished. Try contacting Jaqueline Wang using [email protected] who may be able to provide you with the script.

                    Comment

                    Latest Articles

                    Collapse

                    • GATTACAT
                      Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                      by GATTACAT
                      Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                      07-01-2026, 11:43 AM
                    • SEQadmin2
                      Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                      by SEQadmin2


                      I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                      Here are nine questions we think about, in roughly the order they matter, before...
                      06-18-2026, 07:11 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, 07-02-2026, 11:08 AM
                    0 responses
                    25 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-30-2026, 05:37 AM
                    0 responses
                    23 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-26-2026, 11:10 AM
                    0 responses
                    23 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 06-17-2026, 06:09 AM
                    0 responses
                    55 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...