Comments (4)
Hi Nick. Thanks for letting us know about this problem. Recently I have been testing using just one input file so I didn't notice the problem. I have committed some changes that should fix the issue. Please pull the changes and give it a try again.
from wasp.
Looks like the new code fixed the bug! Thanks. I'll let you know if I find any more. ;)
from wasp.
Hi,
I'm use snp2h5 to convert vcf to h5. I find there is an problem in the latest version.
I use version (v 0.2 & v 0.2.1). The error happened.
...................................................................................................................
long alleles will be truncated to 100bp
writing SNP index to: snp_index.h5
chromosome: C2, length: 52886895bp
reading from file chr_vcf/C2.vcf
counting lines in file
total lines: 0
reading VCF header
ERROR: expected last line in header to start with #CHROM
....................................................................................................................
I check the vcf file, and
....................................................................................................................
grep "#CHR" chr_vcf/C2.vcf
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT SRR3203096
.....................................................................................................................
However, I use the old version (v 01 ), it is fine.
from wasp.
Hi ZhengYaa
I believe that this issue was fixed on the master branch after version 0.2.1. Can you try to checkout the master rather than v0.2.1? (I should make a version 0.2.2 that includes the latest changes).
You might also try adding sample names to your header line if you have more than one sample in the VCF, since it looks like you only have one 'SRR3203096'.
Hope this helps,
Graham
from wasp.
Related Issues (20)
- Missing step in CHT readme?
- Many reads discarded due to remapping with different CIGAR HOT 6
- CHT Snakemake workflow getting stuck at adjust_read_counts
- VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated
- find_intersecting_snps.py outputting sam files rather than bam files HOT 2
- Small sample size HOT 3
- filter_remapped_reads.py HOT 2
- find_intersecting_snps.py HOT 3
- Minor typo in Snakefile
- Represent phased blocks in VCF file HOT 1
- find_intersecting_snps.py: for pair in product(new_reads[0][group], new_reads[1][group]): IndexError: list index out of range HOT 1
- Whole genome sequencing data HOT 1
- running filter_remapped_reads.py on multiple samples all get empty bam files
- Incomplete h5 files with snp2h5
- filter_remapped_reads.py with bams created by HISAT2/ other mappers than Bowtie2 HOT 2
- running snp2h5 in the mapping snakemake HOT 1
- error in rule "get_as_counts" / bam2h5.py
- VCF to HDF5 Error
- Will rmdup_pe.py behave normally if one mate from a read pair is removed? HOT 1
- about NAs and 0s in CHT step 6 "extract_haplotype_read_counts"
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 wasp.