Go Back   SEQanswers > Applications Forums > Genomic Resequencing

Similar Threads
Thread Thread Starter Forum Replies Last Post
HISAT2 / / --genotype-vcf & VCF_fnames kevinrue RNA Sequencing 5 02-23-2017 07:05 AM
New to NGS world, pre-built indexes in bowtie karsch Introductions 1 03-26-2015 04:39 AM
Anyone built an iGenome index for RN5 Starr_Hazard Bioinformatics 1 12-19-2013 02:57 PM
Questions about Bowtie/Bowtie2 pre-built indexes navd Bioinformatics 1 03-05-2013 01:22 AM
pre-built indexes biofreak RNA Sequencing 2 07-26-2011 03:52 PM

Thread Tools
Old 04-30-2017, 12:03 PM   #1
Junior Member
Location: La Jolla

Join Date: Mar 2017
Posts: 2
Default How to generate VCF from HISAT2 pre-built SNP index?

My ultimate goal is to get a (n= samples, m= SNPs) data matrix. My plan was to use HISAT2 for the mapping, VCF tools for the vcf file, and then parse it to generate the data matrix I can actually mine.

I'm using the pre-built SNP index file for H. sapiens, Ensembl GRCh38 . I have HISAT2 running smoothly for all of my samples and started reading the downstream pipeline for generating VCF files (

samtools mpileup -uf $HISAT2_HOME/example/reference/22_20-21M.fa eg2.sorted.bam | bcftools view -bvcg - > eg2.raw.bcf
How do I get the original fasta file or build a VCF file using this index and my sam/bam files? I was going to just download the hg38 Ensemble annotated genome but I don't think that's what I need. . . I went into the ``file from the tar ball when downloading the SNPs db. I think it's building the SNP index from `Homo_sapiens.GRCh38.dna.primary_assembly.fa. Is this the file that needs to be used? (

Also, if anyone has any insight on how to generate a data matrix from the vcf files, it would be greatly appreciated (but first I need to generate the vcf files)

Thanks in advance
Attached Images
File Type: png Screen Shot 2017-04-30 at 12.03.19 PM.png (37.3 KB, 3 views)

Last edited by jol.espinoz; 04-30-2017 at 12:26 PM.
jol.espinoz is offline   Reply With Quote

genotype, hisat2, samtools, snp, vcf

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 11:45 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO