Skip to content

Commit b084993

Browse files
committed
docs: junction_annotation to junction-annotation
1 parent d8d9413 commit b084993

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

src/derive/command/junction_annotation.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Functionality relating to the `ngs derive junction_annotation` subcommand itself.
1+
//! Functionality relating to the `ngs derive junction-annotation` subcommand itself.
22
33
use std::collections::HashMap;
44
use std::path::PathBuf;
@@ -17,7 +17,7 @@ use crate::utils::formats;
1717
use crate::utils::formats::bam::ParsedBAMFile;
1818
use crate::utils::formats::utils::IndexCheck;
1919

20-
/// Clap arguments for the `ngs derive junction_annotation` subcommand.
20+
/// Clap arguments for the `ngs derive junction-annotation` subcommand.
2121
#[derive(Args)]
2222
pub struct JunctionAnnotationArgs {
2323
/// Source BAM.
@@ -60,9 +60,9 @@ pub struct JunctionAnnotationArgs {
6060
count_duplicates: bool,
6161
}
6262

63-
/// Main function for the `ngs derive junction_annotation` subcommand.
63+
/// Main function for the `ngs derive junction-annotation` subcommand.
6464
pub fn derive(args: JunctionAnnotationArgs) -> anyhow::Result<()> {
65-
info!("Starting derive junction_annotation subcommand.");
65+
info!("Starting derive junction-annotation subcommand.");
6666

6767
let mut exons = compute::ExonSets {
6868
starts: HashMap::new(),

src/derive/junction_annotation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Supporting functionality for the `ngs derive junction_annotation` subcommand.
1+
//! Supporting functionality for the `ngs derive junction-annotation` subcommand.
22
33
pub mod compute;
44
pub mod results;

src/derive/junction_annotation/compute.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ fn tally_junctions_and_support(junction_map: &results::JunctionsMap) -> (usize,
261261
(junctions, support)
262262
}
263263

264-
/// Main function to summarize the results of the junction_annotation subcommand.
264+
/// Main function to summarize the results of the junction-annotation subcommand.
265265
pub fn summarize(
266266
results: &mut results::JunctionAnnotationResults,
267267
params: &JunctionAnnotationParameters,

src/derive/junction_annotation/results.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Results related to the `ngs derive junction_annotation` subcommand.
1+
//! Results related to the `ngs derive junction-annotation` subcommand.
22
33
use noodles::core::Position;
44
use serde::ser::SerializeStruct;
@@ -82,7 +82,7 @@ impl Serialize for JunctionAnnotations {
8282
}
8383

8484
/// General record metrics that are tallied as a part of the
85-
/// junction_annotation subcommand.
85+
/// junction-annotation subcommand.
8686
#[derive(Clone, Default, Serialize)]
8787
pub struct RecordMetrics {
8888
/// The number of records that have been fully processed.
@@ -106,7 +106,7 @@ pub struct RecordMetrics {
106106
pub missing_mapq: usize,
107107
}
108108

109-
/// Summary statistics for the junction_annotation subcommand.
109+
/// Summary statistics for the junction-annotation subcommand.
110110
#[derive(Clone, Default, Serialize)]
111111
pub struct SummaryResults {
112112
/// The total number of junctions observed in the file.
@@ -208,6 +208,6 @@ pub struct JunctionAnnotationResults {
208208
/// General record metrics.
209209
pub records: RecordMetrics,
210210

211-
/// Summary statistics for the junction_annotation subcommand.
211+
/// Summary statistics for the junction-annotation subcommand.
212212
pub summary: SummaryResults,
213213
}

0 commit comments

Comments
 (0)