Comments (6)
Hi,
thanks for the feeback.
I didn't fully understand what you mean regarding the indel calculation problem.
can you please elaborate what exactly you think the problem is?
can you give an example where you think the indel calculation isn't correct (starting from the non-aligned sequences)?
thanks
Amnon
from deblur.
Hi,
for example:
seq_i.sequence = ---GGAGGGT-----
seq_j.sequence = ---AGG-GCGG----
seq_i.np_sequence = [4 4 4 2 2 0 2 2 2 3 4 4 4 4 4]
seq_j.np_sequence = [4 4 4 0 2 2 4 2 1 2 2 4 4 4 4]
In line 160/161 you say this:
sub_seq_i = seq_i.np_sequence[:length]
sub_seq_j = seq_i.np_sequence[:length]
"sub_seq_i" and "sub_seq_j" assigned the same sequence. So "sub_seq_i == sub_seq_j"
Therefore:
sub_seq_i = [4 4 4 2 2 0 2 2 2 3 4 4 4 4 4]
sub_seq_j = [4 4 4 2 2 0 2 2 2 3 4 4 4 4 4]
in line 163 you say
mask = (sub_seq_i != sub_seq_j)
Because "sub_seq_i " and "sub_seq_j " are always equal all element in "mask" have the boolean false.
Consequently in line 165 "mut_is_indel " will be always an empty list
mut_is_indel = np.logical_or(sub_seq_i[mask] == 4, sub_seq_j[mask] == 4)
If you replace in line 161 sub_seq_j = seq_i.np_sequence[:length] with sub_seq_j = seq_j.np_sequence[:length] i think it will be work.
from deblur.
from deblur.
Hi,
thanks. II'm going to check this out. Regarding your question: I've decided to read the scripts if I want to use it for my analyses. Let's see how long I can keep that up :)
from deblur.
Thank you @MichaelRade for reporting, and for a detailed example of the bug. I'm reopening the issue until a fix is in place.
from deblur.
fix thru #179
from deblur.
Related Issues (20)
- new release: mix case fixing HOT 1
- illumina 1.9 support? HOT 1
- convert float to int HOT 3
- Failure to write BIOM file - OSError: Unable to create file HOT 1
- Deblur workflow output HOT 14
- Derivation of error profile HOT 2
- Is it possible to turn off chimera checking? HOT 4
- Not sure where counts are going for dominant sequence HOT 1
- "ERROR ...: Problem running vsearch dereplication on file" HOT 1
- bug Mac, error message HOT 1
- Whether deblur trim the read length with multipile sequence alignment? HOT 9
- Crash after saving biom table and attempting to remove artifacts
- Novaseq support HOT 1
- Is there an equivalent deblur-stats output in the stand alone version? HOT 4
- Can you recommend some reference databases (Positive mode) for ITS and 18S sequences? HOT 8
- Question about using Deblur in meta analysis HOT 1
- Deblur installation error HOT 5
- support click 8
- indexdb_rna not found HOT 6
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 deblur.