pub struct SeqArgs {Show 21 fields
pub in_fq: Option<String>,
pub in_fa: Option<String>,
pub mini_seq_length: Option<usize>,
pub drop_ambigous_seq: bool,
pub output_odd: bool,
pub output_even: bool,
pub reverse_complement: bool,
pub both_complement: bool,
pub output_fasta: bool,
pub trim_header: bool,
pub line_len: Option<usize>,
pub ascii_bases: Option<u8>,
pub output_qual_33: bool,
pub q_low: Option<u8>,
pub q_high: Option<u8>,
pub fake_fastq_quality: Option<char>,
pub uppercases: bool,
pub lowercases_to_char: bool,
pub mask_char: Option<char>,
pub mask_regions: Option<String>,
pub mask_complement_region: bool,
}Fields§
§in_fq: Option<String>FASTQ path
in_fa: Option<String>FASTA path
mini_seq_length: Option<usize>Remove sequences shorter than MINI_SEQ_LENGTH [default: 0]
drop_ambigous_seq: boolDrop sequences containing ambiguous bases ‘N’ [default: false]
output_odd: boolOutput only the reads from odd-numbered (2n-1) records
output_even: boolOutput only the reads from even-numbered (2n) records
reverse_complement: boolReverse complement [default: false]
both_complement: boolOutput both forward and reverse complement [default: false]
output_fasta: boolForce output format to FASTA (discard quality)
trim_header: boolDrop comments at the header lines (only keep the first word before first space)
line_len: Option<usize>Number of characters per line for sequences and their corresponding quality values [default: all on a single line]
ascii_bases: Option<u8>The quality scores are represented as chars with ASCII values equal to the score plus a base offset ASCII_BASES [default: 33]
output_qual_33: boolOutput the quality score to an offset of 33 (Effective only when –ascii-bases is not 33)
q_low: Option<u8>Mask bases with a quality score lower than Q_LOW [default: 0]
q_high: Option<u8>Mask bases with a quality score higher than Q_HIGH [default: 255]
fake_fastq_quality: Option<char>Generate fake quality values using the specified CHAR.
uppercases: boolConverts all bases in the sequences to uppercase. When used in conjunction with other masking options (e.g., –q-low, –q-high, –mask-regions, –mask-char, etc.), the program first converts the sequences to uppercase and then applies the other masking operations.
lowercases_to_char: boolConvert all lowercases to –mark-char
mask_char: Option<char>Mask bases by converting them to MASK_CHAR [default: convert to lowercase]
mask_regions: Option<String>Mask bases that overlap with the regions specified in the BED (0-based) file [default: null]
mask_complement_region: boolMask bases that do NOT overlap with the region specified in the BED (effective with –mask-regions / -M)
Trait Implementations§
Source§impl Args for SeqArgs
impl Args for SeqArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for SeqArgs
impl FromArgMatches for SeqArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for SeqArgs
impl RefUnwindSafe for SeqArgs
impl Send for SeqArgs
impl Sync for SeqArgs
impl Unpin for SeqArgs
impl UnsafeUnpin for SeqArgs
impl UnwindSafe for SeqArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.