-
Notifications
You must be signed in to change notification settings - Fork 21
Closed
Description
I'm getting this error when building rust-bio-tools
against the latest version of rust-bio
:
error[E0277]: the trait bound `rust_htslib::bam::Record: SequenceRead` is not satisfied
--> src/bam/collapse_reads_to_fragments/calc_consensus.rs:190:10
|
190 | impl<'a> CalcConsensus<'a, bam::Record> for CalcOverlappingConsensus<'a> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `SequenceRead` is not implemented for `rust_htslib::bam::Record`
|
::: src/common.rs:14:32
|
14 | pub trait CalcConsensus<'a, R: SequenceRead> {
| ------------ required by this bound in `CalcConsensus`
It looks like SequenceRead
is implemented for a fastq record, but not for bam records.
Metadata
Metadata
Assignees
Labels
No labels