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

Already on GitHub? Sign in to your account

Sequence Trimming - cleanup functions #352

Open
mothur-westcott opened this Issue Jul 7, 2017 · 0 comments

Comments

Projects
None yet
1 participant
Contributor

mothur-westcott commented Jul 7, 2017

When I call…

                rSeq.printSequence(cout);

the output is the untrimmed sequence. but if I do rSeq.printUnAlignedSequence(cout); or cout << rSeq.getUnaligned().length() << endl;, I get the right output. Looking at the Sequence class, I’m not sure why the two print methods would give different results for unaligned sequences. Perhaps in Sequence::setUnaligned (called at L490 of qualityscores.cpp), we should set isaligned to FALSE. Alternatively we should use Sequence::trim at L490 of qualityscores.cpp, which does this naturally. I don’t think it impacts my application, but the print and trim calls seem like they need a tweak.

@mothur-westcott mothur-westcott added this to the Back Burner milestone Jul 7, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment