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
              Understanding Genetic Influence on Infectious Disease
              by seqadmin




              During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

              Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
              09-09-2024, 10:59 AM
            • seqadmin
              Addressing Off-Target Effects in CRISPR Technologies
              by seqadmin






              The first FDA-approved CRISPR-based therapy marked the transition of therapeutic gene editing from a dream to reality1. CRISPR technologies have streamlined gene editing, and CRISPR screens have become an important approach for identifying genes involved in disease processes2. This technique introduces targeted mutations across numerous genes, enabling large-scale identification of gene functions, interactions, and pathways3. Identifying the full range...
              08-27-2024, 04:44 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 09-11-2024, 02:44 PM
            0 responses
            11 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 09-06-2024, 08:02 AM
            0 responses
            145 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 09-03-2024, 08:30 AM
            0 responses
            152 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 08-27-2024, 04:40 AM
            0 responses
            161 views
            0 likes
            Last Post seqadmin  
            Working...
            X