pub struct ReactionHit {Show 29 fields
pub pathway: String,
pub pathway_status: Option<PwyStatus>,
pub rxn: String,
pub name: String,
pub ec: String,
pub keyrea: bool,
pub spont: bool,
pub is_complex: bool,
pub subunit_count: u32,
pub subunits: String,
pub complex: Option<String>,
pub subunits_found: Option<u32>,
pub subunit_undefined_found: Option<bool>,
pub complex_status: Option<u8>,
pub file: Option<String>,
pub dbhit: String,
pub has_dbhit: bool,
pub src: String,
pub reftype: String,
pub qseqid: Option<String>,
pub pident: Option<f32>,
pub evalue: Option<f64>,
pub bitscore: Option<f32>,
pub qcov: Option<f32>,
pub stitle: Option<String>,
pub sstart: Option<i32>,
pub send: Option<i32>,
pub exception: bool,
pub status: HitStatus,
}Expand description
One row of the Reactions.tbl output, carrying both the reaction metadata
(pathway, name, EC, keyrea, spont) and the best blast hit for the
reaction (if any). Mirrors src/analyse_alignments.R’s rxndt.
Column order matches the golden output at
toy/ecoli-all-Reactions.tbl so downstream tools (R’s
generate_GSdraft.R, predict_medium.R, etc.) parse it unchanged.
Fields§
§pathway: String§pathway_status: Option<PwyStatus>§rxn: String§name: String§ec: String§keyrea: bool§spont: bool§is_complex: bool§subunit_count: u32§subunits: String§complex: Option<String>§subunits_found: Option<u32>§subunit_undefined_found: Option<bool>§complex_status: Option<u8>§file: Option<String>The originating reference fasta path (e.g. rev/1.1.1.1.fasta) or
None if no fasta was found.
dbhit: StringSpace-joined, sorted, deduplicated SEED reaction IDs associated with
this reaction via EC / MetaCyc-id / enzyme-name lookups. Matches
gapseq’s dbhit column exactly (see src/getDBhit.R). Empty when
no SEED reaction matches.
has_dbhit: boolTrue when dbhit is non-empty. Not written to output; handy for
downstream consumers.
src: StringSource subdirectory (rxn, rev, unrev, user) derived from
file. Empty when no fasta was found.
reftype: StringReference-sequence type (EC, metacyc, reaName). Empty when no
fasta was found.
qseqid: Option<String>§pident: Option<f32>§evalue: Option<f64>§bitscore: Option<f32>§qcov: Option<f32>§stitle: Option<String>§sstart: Option<i32>§send: Option<i32>§exception: bool§status: HitStatusTrait Implementations§
Source§impl Clone for ReactionHit
impl Clone for ReactionHit
Source§fn clone(&self) -> ReactionHit
fn clone(&self) -> ReactionHit
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more