Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion failure... #11

Open
pjuren opened this issue Aug 1, 2015 · 0 comments
Open

Assertion failure... #11

pjuren opened this issue Aug 1, 2015 · 0 comments
Labels

Comments

@pjuren
Copy link
Contributor

pjuren commented Aug 1, 2015

Zagros crashes with an assertion failure with the following command line:

zagros -c human/hg19/chromFa min_reproducible.bed

where the contents of min_reproducible.bed is the following single line:

chrM    0   16600   X   1026.48 +   1.56762e-15

Resultant error message is

zagros: ../rbp_common/IO.cpp:575: void extract_regions_chrom_fasta(const std::string&, const 
std::string&, const std::vector<GenomicRegion, std::allocator<GenomicRegion> >&, 
std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, 
std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, 
std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, 
std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&): Assertion `i-
>get_width() == sequences.back().length()' failed.
Aborted

Possibly due to exceeding the length of the chromosome? ChrM has length 16571, so this region is more than the whole chromosome...

@pjuren pjuren added the bug label Aug 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant