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
Check on screed's attributes #1484
Comments
No, neither does
|
Note that the quality attribute always seems to exist in the |
If |
Yup, although screed just leaves it off entirely if it doesn't exist. I'd On Thu, Nov 17, 2016 at 9:50 AM, Daniel Standage notifications@github.com
Camille Scott Graduate Group for Computer Science |
This was discussed in #1468 and resolved to eliminating the quality attribute on FASTQ records, which was the opinion of me and @luizirber both. Following from that, we decided 'quality' should be eliminated from ReadParser results on FASTA sequences. At this point I'm happy to reconsider (I kinda like the 'format' notion) but I would like a compleat (if brief) proposal that satisfies all of the discussion points raised in the various discussions, i.e. would require some work by someone :). |
One extra consideration is whether Nanopore or PacBio add sequence attributes that we want to plan ahead for. I don't have a clear idea of this. |
For me |
I believe #1484 (comment) is incorrect - 'description' is only set if parse_description=True. |
But it seems like the bigger annoyance is that khmer now has 'annotations' and screed has 'description' (when parse_description is set) |
Note that we must allow 'screed.Record()', as it is used in khmer 2.0 which depends on screed > 0.9. In future we should remember to bound requirements by next major version :) |
See dib-lab/screed#64 for allowing |
|
See One remaining question - is it present when we read FASTA sequences? |
In [2]: rp = khmer.ReadParser('tests/test-data/random-20-a.fa')
In [3]: for read in rp:
...: print(read)
...: print(hasattr(read, 'quality'))
...:
<khmer.Read object at 0x7f31b9e4acc0>
False Shall we immortalise by making it a test? |
See #1583. The only remaining issue here seems to be 'annotations' which we should be able to change in khmer (since AFAIK nothing uses it...) |
I'm renaming |
Does 'accuracy' still exist on FASTA records?
#769 (comment)
Update: last remaining differences between khmer
Read
and screedRecord
objects seems to bedescription
vsannotation
.The text was updated successfully, but these errors were encountered: