Comments (3)
tabix is in htslib. You use it to
index "block gzipped" (bgzipped) files.
You use bgzip and tabix like this:
bgzip NA12878.vcf
tabix -p vcf NA12878.vcf.gz
Now you can use the VCF file for construction:
./vg construct -r hg19.fasta -v NA12878.vcf.gz
Probably the error message (and you're right that it's in vcflib) just
needs to indicate this process.
On Wed, Mar 11, 2015 at 12:04 AM, Ryan Williams [email protected]
wrote:
I am running vg and getting this error:
$ ./vg construct -r hg19.fasta -v NA12878.vcf
cannot setRegion on a non-tabix indexed file
- help debugging would be appreciated
- a more descriptive error message would be helpful here.
I see that it comes from vcflib
https://github.com/ekg/vcflib/blob/b1dfd7a73140f9b12cb8fd2a554d70188ff05cca/src/Variant.cpp#L1313
but that's all I've got.—
Reply to this email directly or view it on GitHub
#6.
from vg.
Sorry if this is pedantic, but in case someone else gets caught by it
before the fix propagates to various repos that depend on vcflib.
On Wed, Mar 11, 2015 at 12:16 AM, Erik Garrison [email protected]
wrote:
tabix is in htslib. You use it to
index "block gzipped" (bgzipped) files.You use bgzip and tabix like this:
bgzip NA12878.vcf tabix -p vcf NA12878.vcf.gz
Now you can use the VCF file for construction:
./vg construct -r hg19.fasta -v NA12878.vcf.gz
Probably the error message (and you're right that it's in vcflib) just
needs to indicate this process.On Wed, Mar 11, 2015 at 12:04 AM, Ryan Williams [email protected]
wrote:I am running vg and getting this error:
$ ./vg construct -r hg19.fasta -v NA12878.vcf
cannot setRegion on a non-tabix indexed file
- help debugging would be appreciated
- a more descriptive error message would be helpful here.
I see that it comes from vcflib
https://github.com/ekg/vcflib/blob/b1dfd7a73140f9b12cb8fd2a554d70188ff05cca/src/Variant.cpp#L1313
but that's all I've got.—
Reply to this email directly or view it on GitHub
#6.
from vg.
no that is perfect, thanks
from vg.
Related Issues (20)
- How to tanslate the Minigraph-cactus result to SequenceTubeMaps through vg HOT 2
- Merging alignment graphs vs merging BAMs HOT 3
- Feature request: Accept jellyfish kmer counts for vg haplotypes HOT 2
- Using vg to analyze transcriptomic data from a mixed background HOT 4
- `vg giraffe` for long reads HOT 1
- Missing '--alt-prefix' option in recent versions of vg deconstruct.
- Problem with vg autoindex with phased VCF HOT 2
- No sample & read group field in BAM output with vg map HOT 5
- I cant get .vg file using vg construct HOT 2
- `vg autoindex` fails on GFA file containing 20k SARS-CoV-2 sequences. HOT 1
- vg giraffe mapping HiFi HOT 1
- error vg autoindex: Input is not sufficient to create indexes HOT 2
- Oddly high mapping quality when aligning reads with Ns HOT 6
- Release vg v1.56.0
- I have a question about gam file. HOT 2
- vg surject: incorrect behavior near polymorphic {repetitive} insertions HOT 4
- Can vg construct a trans-chromosomal graph ? HOT 5
- ERROR: Signal 6 occurred. VG has crashed. HOT 8
- vg construct will let you create a graph without reference paths, with different path names than Cactus
- VG convert to gfa and back will drop path data. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vg.