pub struct Cli {Show 24 fields
pub fasta: PathBuf,
pub vcf: Option<PathBuf>,
pub bam: Vec<PathBuf>,
pub region: Option<String>,
pub tag: Option<String>,
pub annotations: Vec<PathBuf>,
pub annotation_format: Option<String>,
pub signals: Vec<PathBuf>,
pub signal_format: Option<String>,
pub links: Vec<PathBuf>,
pub link_format: Option<String>,
pub link_min_score: Option<f64>,
pub light_mode: bool,
pub log_level: String,
pub config: Option<PathBuf>,
pub snapshot_bed: Option<PathBuf>,
pub snapshot_genes: Option<PathBuf>,
pub snapshot_out: Option<PathBuf>,
pub snapshot_format: String,
pub snapshot_width: u32,
pub snapshot_flank: f64,
pub snapshot_theme: String,
pub no_browser: bool,
pub serve_port: u16,
}Fields§
§fasta: PathBufPath to the reference genome FASTA file (must have a .fai index).
vcf: Option<PathBuf>Path to a VCF file (must have a .tbi index). May be repeated in a future iteration; today only the first is honored.
bam: Vec<PathBuf>Path to a BAM file (must have a .bai or .csi index). May be repeated to display multiple alignment tracks.
region: Option<String>Initial region (e.g. “chr1:1000-2000”, “chr1:1000”, “chr1”).
tag: Option<String>BAM tag to color reads by (two-character tag, e.g. “ha”).
annotations: Vec<PathBuf>Path to a GFF3, GTF, BED, or narrowPeak/broadPeak annotation file. Format auto-detected by extension. May be repeated.
annotation_format: Option<String>Override annotation format auto-detection
(gff, gff3, gtf, bed, narrowpeak, or broadpeak).
Applies to all -g files.
signals: Vec<PathBuf>Path to a bigWig signal file (.bw / .bigwig). May be repeated.
signal_format: Option<String>Override signal format auto-detection (currently only bigwig).
Applies to all -s files.
links: Vec<PathBuf>Path to a BEDPE link file (.bedpe / .bedpe.gz). May be repeated. Each file becomes its own track showing pairwise interactions (chromatin loops, enhancer-promoter, ChIA-PET, etc.).
link_format: Option<String>Override link format auto-detection (currently only bedpe).
Applies to all -l files.
link_min_score: Option<f64>Drop links whose score column is below this value. Records without a score are unaffected.
light_mode: boolUse light theme (for light-background terminals).
log_level: StringLogging level filter.
config: Option<PathBuf>Optional override config path. Defaults to
$XDG_CONFIG_HOME/igv-rs/config.toml.
snapshot_bed: Option<PathBuf>Render snapshots for every region in this BED file (no TUI). Mutually exclusive with –snapshot-genes.
snapshot_genes: Option<PathBuf>Render snapshots for every gene name in this newline-separated file (no TUI). Requires at least one -g/–annotation. Mutually exclusive with –snapshot-bed.
snapshot_out: Option<PathBuf>Output directory for batch snapshots. Required when –snapshot-bed or –snapshot-genes is set.
snapshot_format: StringOutput format for snapshots: svg (default) or png.
snapshot_width: u32Image width in px for snapshots.
snapshot_flank: f64Padding fraction added to each side of every batch region.
snapshot_theme: StringSnapshot color theme: igv (default) or tui.
no_browser: boolDisable the B keystroke / browser launch (CI, headless servers).
serve_port: u16TCP port for the browser-view HTTP server. 0 picks any free port.
Trait Implementations§
Source§impl Args for Cli
impl Args for Cli
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 CommandFactory for Cli
impl CommandFactory for Cli
Source§impl FromArgMatches for Cli
impl FromArgMatches for Cli
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.Source§impl Parser for Cli
impl Parser for Cli
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for Cli
impl RefUnwindSafe for Cli
impl Send for Cli
impl Sync for Cli
impl Unpin for Cli
impl UnsafeUnpin for Cli
impl UnwindSafe for Cli
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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 more