-
Notifications
You must be signed in to change notification settings - Fork 24
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
Version 0.3 #26
Version 0.3 #26
Conversation
BenchmarksCurrent benchmarks are within range of error, although perhaps slightly slower (this may be expected since we're now doing more tracking of parse state to allow better error messages): New
Old
FuzzingI set up fuzzing and created test cases for parsing FASTA and FASTQ files. These fairly rapidly caught a small bug with FASTQ files having different lines endings ( |
0587cb3
to
09f629c
Compare
0ea488e
to
042e21c
Compare
715e53d
to
66ebe03
Compare
d721205
to
bc6dc45
Compare
Codecov Report
@@ Coverage Diff @@
## master #26 +/- ##
======================================
Coverage ? 90%
======================================
Files ? 5
Lines ? 590
Branches ? 0
======================================
Hits ? 531
Misses ? 59
Partials ? 0
Continue to review full report at Codecov.
|
fb9a8a8
to
368da9e
Compare
This is a breaking update. As a rough updating guide based off porting both finch and some of our internal pipelines to v0.3, the following changes (at a minimum) are going to be necessary to keep code working: Change
to
Change
to
Change
to
Also, if anyone's using needletail v0.2 and needs help/advice on porting to v0.3, I'm happy to look over code and answer questions. |
👏 |
Preliminary change list:
fastx_bytes
,fastx_stream
intoparse_sequence_reader
andfastx_cli
intoparse_sequence_path
SeqRecord
is nowSequenceRecord
and many of its methods have been spun out into aSequence
trait that allows working on e.g. byte slices.kmers
method has been simplified and a new.canonical_kmers
method has been introduced with much of the originals functionality (and an takes an explicitreverse_complement
to allow its reference to be&
instead of&mut
)Read
instead ofRead + Seek
so we can handle e.g. gzip files piped in through stdinzip
requiresSeek
) 😞cargo clippy
d)