1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! Data augmentation operations for FASTA records.
//!
//! This module provides functionality to augment biological sequence data
//! for machine learning training, including:
//! - Reverse complement transformation
//! - Random mutations (substitutions)
//! - Random subsequence extraction
//!
//! # Examples
//!
//! ```no_run
//! use deepbiop_fa::augment::{ReverseComplement, Mutator, Augmentation};
//!
//! // Create augmenters
//! let mut rc = ReverseComplement::new();
//! let mut mutator = Mutator::new(0.01, Some(42)); // 1% mutation rate, seed 42
//!
//! // Apply augmentations
//! let sequence = b"ACGTACGT";
//! let rc_sequence = rc.apply(sequence);
//! ```
pub use ;
pub use ReverseComplement;
pub use cut_fa_randomly;
/// Trait for sequence augmentation operations.