Skip to content

Commit

Permalink
fix up documentation a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
lskatz committed Jan 6, 2025
1 parent a78c95c commit 8239962
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 9 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,13 +103,13 @@ except `fasten_convert`.
|[`fasten_validate`](https://lskatz.github.io/fasten/fasten_validate) | Validates your reads (deprecated in favor of `fasten_inspect` and `fasten_repair`|
|[`fasten_inspect`](https://lskatz.github.io/fasten/fasten_inspect) | adds information to read IDs such as seqlength |
|[`fasten_repair`](https://lskatz.github.io/fasten/fasten_repair) | Repairs corrupted reads |
|[`fasten_quality_filter`](https://lskatz.github.io/fasten/fasten_quality_filter) | Transforms nucleotides to "N" if the quality is low | |
|[`fasten_trim`](https://lskatz.github.io/fasten/fasten_trim) | Blunt-end trims reads | |
|[`fasten_replace`](https://lskatz.github.io/fasten/fasten_replace) | Find and replace using regex | |
|[`fasten_mutate`](https://lskatz.github.io/fasten/fasten_mutate) | introduce random mutations | |
|[`fasten_regex`](https://lskatz.github.io/fasten/fasten_regex) | Filter for reads using regex | |
|[`fasten_progress`](https://lskatz.github.io/fasten/fasten_progress) | Add progress to any place in the pipeline | |
|[`fasten_sort`](https://lskatz.github.io/fasten/fasten_sort) | Sort fastq entries | |
|[`fasten_quality_filter`](https://lskatz.github.io/fasten/fasten_quality_filter) | Transforms nucleotides to "N" if the quality is low |
|[`fasten_trim`](https://lskatz.github.io/fasten/fasten_trim) | Blunt-end trims reads |
|[`fasten_replace`](https://lskatz.github.io/fasten/fasten_replace) | Find and replace using regex |
|[`fasten_mutate`](https://lskatz.github.io/fasten/fasten_mutate) | introduce random mutations |
|[`fasten_regex`](https://lskatz.github.io/fasten/fasten_regex) | Filter for reads using regex |
|[`fasten_progress`](https://lskatz.github.io/fasten/fasten_progress) | Add progress to any place in the pipeline |
|[`fasten_sort`](https://lskatz.github.io/fasten/fasten_sort) | Sort fastq entries |

## Etymology

Expand All @@ -121,4 +121,4 @@ that indicates that you are securing your analysis by "fasten"ing it (with a sil

[![DOI](https://joss.theoj.org/papers/10.21105/joss.06030/status.svg)](https://doi.org/10.21105/joss.06030)

To cite, please refer to Katz et al., (2024). Fasten: a toolkit for streaming operations on fastq files. Journal of Open Source Software, 9(94), 6030, https://doi.org/10.21105/joss.06030
To cite, please refer to Katz et al., (2024). Fasten: a toolkit for streaming operations on fastq files. Journal of Open Source Software, 9(94), 6030, <https://doi.org/10.21105/joss.06030>
15 changes: 14 additions & 1 deletion src/bin/fasten_trim.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
//! ### Trim the adapters
//!
//! ```bash
//! cat file.fastq | fasten_trim
//! cat file.fastq | \
//! fasten_trim --adapterseqs <(echo -e ">test\nCTTT") > trimmed.fastq
//!
//! cat $HOME/db/adapterseqs/adapters/*.fa > ./adapters.fasta
//! cat file.fastq | \
//! fasten_trim --adapterseqs ./adapters.fasta > trimmed.fastq
//! ```
//!
//! ## Blunt-end trim five bases from the right side
Expand Down Expand Up @@ -62,6 +67,14 @@
//! 3. Compare the blunt end suggested trimming against where an adapter might be found and move the marker as the most inward possible
//! 4. Trim the sequence and quality strings
//!
//! Making the output more explicit while combining both algorithms can involve a two step process:
//!
//! ```bash
//! cat file.fastq | \
//! fasten_trim --adapterseqs ./adapters.fasta | \
//! fasten_trim -f 4 -l 99 > trimmed.fastq
//! ```
//!
//! # Output
//!
//! The deflines will be altered with a description of the trimming using key=value syntax, separated by spaces, e.g.,
Expand Down

0 comments on commit 8239962

Please sign in to comment.