pub enum CatalogCommands {
List {
catalog: Option<PathBuf>,
assembly: Option<String>,
source: Option<String>,
},
Show {
id: String,
catalog: Option<PathBuf>,
all_contigs: bool,
},
Export {
output: PathBuf,
catalog: Option<PathBuf>,
},
ListHierarchical {
catalog: PathBuf,
},
BuildHierarchical {Show 14 fields
id: String,
name: String,
inputs: Vec<PathBuf>,
assembly_id: Option<String>,
version_id: Option<String>,
source: Option<String>,
download_url: Option<String>,
tags: Option<String>,
output: Option<PathBuf>,
append_to: Option<PathBuf>,
force: bool,
require_md5: bool,
infer_assembly: Option<Option<PathBuf>>,
no_generate_ucsc_names: bool,
},
Build {Show 15 fields
id: String,
name: String,
inputs: Vec<PathBuf>,
assembly: Option<String>,
source: Option<String>,
description: Option<String>,
download_url: Option<String>,
assembly_report_url: Option<String>,
tags: Option<String>,
output: Option<PathBuf>,
append_to: Option<PathBuf>,
force: bool,
input_format: Option<InputFormatArg>,
require_md5: bool,
no_generate_ucsc_names: bool,
},
}Variants§
List
List all references in the catalog
Fields
Show
Show details of a specific reference
Fields
Export
Export the catalog to a file
Fields
ListHierarchical
List hierarchical catalog contents (assemblies, versions, distributions)
BuildHierarchical
Build a hierarchical catalog entry (FastaDistribution)
Fields
source: Option<String>Source organization (ucsc, ncbi, broad, ensembl, 1kg, dragen, gdc, or custom)
Tags (comma-separated)
output: Option<PathBuf>Output file (creates new hierarchical catalog or standalone distribution JSON)
infer_assembly: Option<Option<PathBuf>>Infer base assembly by matching MD5s against an existing catalog If no path given, uses the embedded catalog (or –append-to catalog)
no_generate_ucsc_names: boolDisable automatic generation of UCSC-style names for patches.
By default, when parsing NCBI assembly reports, UCSC-style names are generated for fix-patches and novel-patches that have “na” in the UCSC-style-name column (common in reports prior to p13).
Use this flag to disable this behavior and only use names explicitly present in the assembly report.
Build
Build a new reference entry from input files
Fields
inputs: Vec<PathBuf>Input file(s) - can be specified multiple times
Supported formats: .dict, .fai, .sam, .bam, .cram, .vcf, _assembly_report.txt
Comma-separated tags
input_format: Option<InputFormatArg>Force input format instead of auto-detection
no_generate_ucsc_names: boolDisable automatic generation of UCSC-style names for patches.
By default, when parsing NCBI assembly reports, UCSC-style names are generated for fix-patches and novel-patches that have “na” in the UCSC-style-name column (common in reports prior to p13).
Use this flag to disable this behavior and only use names explicitly present in the assembly report.
Trait Implementations§
Source§impl FromArgMatches for CatalogCommands
impl FromArgMatches for CatalogCommands
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<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for CatalogCommands
impl Subcommand for CatalogCommands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand