Comments (7)
FFS I can't reproduce it!!
from gramtools.
Ah yes, now I can after make clean. This time used printf
right=0 and left=25
from gramtools.
Adding a print to see what each c is (c=*pat_it)
[ RUN ] BackwardSearchTest.OneSNP
PRG size: 27
Alphabet size: 5
c is 3
c is 1
c is 3
c is 1
c is 3
c is 1
c is 4
c is 2
c is 1
c is 1
c is 3
oops right is 0and left is 25
unittest_bidir_search_bwd_fwd: ./skip.cpp:116: bool skip(sdsl::csa_wtsdsl::wt_int<sdsl::int_vector<1u, sdsl::rank_support_v5<> >, 2u, 16777216u>&, uint64_t&, uint64_t&, uint64_t&, uint64_t&, uint32_t): Assertion `right>left' failed.
OK, so what does this mean.
The read is:
ttacacagaactagagag
the prg is: catttacaca5g6t5aactagagagca
So it breaks on the g which is allele 1
For the record the BWM is
$catttacaca5g6t5aactagagagca
5aactagagagca$catttacaca5g6t
5g6t5aactagagagca$catttacaca
6t5aactagagagca$catttacaca5g
a$catttacaca5g6t5aactagagagc
a5g6t5aactagagagca$catttacac
aactagagagca$catttacaca5g6t5
aca5g6t5aactagagagca$catttac
acaca5g6t5aactagagagca$cattt
actagagagca$catttacaca5g6t5a
agagagca$catttacaca5g6t5aact
agagca$catttacaca5g6t5aactag
agca$catttacaca5g6t5aactagag
atttacaca5g6t5aactagagagca$c
ca$catttacaca5g6t5aactagagag
ca5g6t5aactagagagca$catttaca
caca5g6t5aactagagagca$cattta
catttacaca5g6t5aactagagagca$
ctagagagca$catttacaca5g6t5aa
g6t5aactagagagca$catttacaca5
gagagca$catttacaca5g6t5aacta
gagca$catttacaca5g6t5aactaga
gca$catttacaca5g6t5aactagaga
t5aactagagagca$catttacaca5g6
tacaca5g6t5aactagagagca$catt
tagagagca$catttacaca5g6t5aac
ttacaca5g6t5aactagagagca$cat <<< index 25
tttacaca5g6t5aactagagagca$ca
from gramtools.
This BWM is wrong. Why are the rows starting with 5 before the rows starting with a when a is 1 in integer alphabet?
from gramtools.
yes, is wrong, made this when I had a bug in my script for printing BWM. Will fix
from gramtools.
BWM is
$214441212153645112413131321
1$21444121215364511241313132
112413131321$214441212153645
1212153645112413131321$21444
12153645112413131321$2144412
12413131321$2144412121536451
13131321$2144412121536451124
131321$214441212153645112413
1321$21444121215364511241313
14441212153645112413131321$2
153645112413131321$214441212
21$2144412121536451124131313
212153645112413131321$214441
214441212153645112413131321$
2153645112413131321$21444121
2413131321$21444121215364511
3131321$21444121215364511241
31321$2144412121536451124131
321$214441212153645112413131
3645112413131321$21444121215
41212153645112413131321$2144
413131321$214441212153645112
441212153645112413131321$214
4441212153645112413131321$21
45112413131321$2144412121536
5112413131321$21444121215364
53645112413131321$2144412121
645112413131321$214441212153
from gramtools.
Can we close this @rffrancon
from gramtools.
Related Issues (20)
- Per base coverage recording error
- Pf benchmarking HOT 1
- Handle no variants after clustering HOT 8
- Release 1.6.0 HOT 5
- Release 1.7 HOT 1
- 'N' in reference genome fasta not supported
- Error Installing gramtools HOT 8
- Boost download link is dead, breaks gramtools compilation process HOT 4
- Retire variant-aware kmer indexing code
- Unable to run the geamtools discover command successfully HOT 4
- Install error HOT 3
- Stop installing py-cortex-api by default
- Ubuntu 18.04 install woes HOT 3
- Migrate to pyproject.toml
- Error while running gramtools HOT 2
- gramtools build error HOT 1
- install error HOT 1
- gramtools gramtools backend expected at: /home/tools/anaconda3/lib/python3.7/site-packages/gramtools/bin/gram but not found HOT 2
- make[1]: *** [CMakeFiles/Makefile2:260: libgramtools/CMakeFiles/gram.dir/rule] Error 2 make: *** [Makefile:186: gram] Error 2 HOT 6
- How to use Gramtools build based on multiple VCF files? HOT 1
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 gramtools.