parse_ab1_filename

Function parse_ab1_filename 

Source
pub fn parse_ab1_filename(name: &str) -> (String, Option<String>)
Expand description

Extract (sample_id, gene) from an AB1 filename.

sample_id is the first token of 10 digits starting with “20”, or a fallback of the full stem when no such token is found. Gene is inferred from keywords anywhere in the lowercase filename.