Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • HISAT2 / hisat2_extract_snps_haplotypes_VCF.py / --genotype-vcf & VCF_fnames

    Dear all,

    I would like to use the Python script hisat2_extract_snps_haplotypes_VCF.py.

    I cannot fully understand some of the command line options from the description printed using the --help option.

    I am confused about the role of the positional argument VCF_fnames and the optional argument --genotype-vcf.

    Here is a copy paste of those two argument descriptions (let me know if I should paste the complete output of --help, it is not so long):
    VCF_fnames A comma-seperated VCF files (plain text or gzipped
    file is accepted: GRCh38_dbSNP_no_SVs.vcf or
    GRCh38_dbSNP_no_SVs.vcf.gz


    --genotype-vcf GENOTYPE_VCF
    VCF file name for genotyping (default: empty)



    I have access to merged VCF files: one per human chromosome, each file contains genotypes and VEP predictions for the same set of samples.
    I thought these files should go as the positional argument VCF_fnames, however, I would like to know:
    1. whether my files contain the right information for the positional argument
    2. what kind of VCF file should go in the optional argument --genotype-vcf


    Many thanks in advance!

    Kevin

  • #2
    Can you provide a reference for where you got the said script from?

    Comment


    • #3

      Comment


      • #4
        Just to clarify, in my previous message I sent the link to the Python script itself.
        However, I installed the software from the source code availabe at https://ccb.jhu.edu/software/hisat2/...html#options-1

        Thanks in advance for looking into this!

        Comment


        • #5
          Hi Did you resolve your question? I have the same doubt.

          If I run

          hisat2_extract_snps_haplotypes_VCF.py -v path/to/.fa path/to/.vcf test

          I get only empty output files .snp .haplotype

          Thanks
          Last edited by xris; 02-23-2017, 05:39 AM.

          Comment


          • #6
            Hi xris,

            Sorry, no, never sorted that one out. Ended up using using the UCSC snp146Common.txt file.

            Regarding you empty .snp and .haplotype issue, does this other post help you in any way?

            You say empty, but in my case, I had one entry in the output, because the script relies on the rsid field to uniquely identify variants, while in my case all the variants had "." and therefore all variants after the first one were skipped. However, that was over a year ago, and the script may behave differently now.

            Best wishes,
            Kevin

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Strategies for Sequencing Challenging Samples
              by seqadmin


              Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
              03-22-2024, 06:39 AM
            • seqadmin
              Techniques and Challenges in Conservation Genomics
              by seqadmin



              The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

              Avian Conservation
              Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
              03-08-2024, 10:41 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 06:37 PM
            0 responses
            10 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, Yesterday, 06:07 PM
            0 responses
            9 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-22-2024, 10:03 AM
            0 responses
            49 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-21-2024, 07:32 AM
            0 responses
            67 views
            0 likes
            Last Post seqadmin  
            Working...
            X