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
              Essential Discoveries and Tools in Epitranscriptomics
              by seqadmin




              The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
              Yesterday, 07:01 AM
            • seqadmin
              Current Approaches to Protein Sequencing
              by seqadmin


              Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
              04-04-2024, 04:25 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            55 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            52 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 09:21 AM
            0 responses
            45 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-04-2024, 09:00 AM
            0 responses
            55 views
            0 likes
            Last Post seqadmin  
            Working...
            X