Skip to content

Commit

Permalink
docs(derive/endedness): fix docs referring to wrong subcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
a-frantz committed Dec 16, 2023
1 parent e8c4816 commit 7e1578b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/derive/command/endedness.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub fn derive(args: DeriveEndednessArgs) -> anyhow::Result<()> {
mut reader, header, ..
} = crate::utils::formats::bam::open_and_parse(args.src, IndexCheck::None)?;

// (1) Collect read lengths from reads within the
// (1) Collect ordering flags (and QNAMEs) from reads within the
// file. Support for sampling only a portion of the reads is provided.
let mut samples = 0;
let mut sample_max = 0;
Expand Down Expand Up @@ -213,7 +213,7 @@ pub fn derive(args: DeriveEndednessArgs) -> anyhow::Result<()> {
ordering_flags.insert(Arc::new(rg_id), OrderingFlagsCounts::new());
}

// (2) Derive the consensus endedness based on the ordering flags gathered.
// (2) Derive the endedness based on the ordering flags gathered.
let result = compute::predict(
ordering_flags,
read_names,
Expand Down

0 comments on commit 7e1578b

Please sign in to comment.