weblogo3 tool reports wrong number of sequences to stdout
Closed this issue · 1 comments
bcclaywell commented
One of our users reported the following today:
Clicking on the output from that tool (on the right edge of the screen) reveals information about the search.
Eg: # weblogo input /mnt/silver/galaxy/containers/galaxy-qa/stable/database/files/013/dataset_13858.dat has 2845133 sequences all of length 10
I noted, in my Excel manipulations that the reported number of sequences (as above) is always 1 smaller than the sum of the 4 nucleotides reported (for each sequence position) by the Sequence
Logo Tool.
It looks like an off-by-one error in this line of rgWebLogo3.py
. lasti
should be lasti + 1
since the index is zero-based.
bgruening commented
Thanks @bcclaywell!