1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
The `trfr` crate is purely for parsing the output of
the command line tool `Tandem Repeat Finder` (or `trf`).
The output is generated by passing the `-d` flag to create
a parseable table (rather than the standard HTML output). Please
see [here](https://github.com/Benson-Genomics-Lab/TRF) for the
source code and citation for `trf`.
The API follows that of most mainstream Rust API's (in particular
BurntSushi's). It is an iterator API currently and is unstable.
# Example
```no_run
use std::{error::Error, io, process};
fn example() -> Result<(), Box<dyn Error>> {
// Build the trfr reader
let mut rdr = trfr::Reader::from_reader(io::stdin());
for result in rdr.records() {
let record = result?;
println!("{:?}", record);
}
Ok(())
}
fn main() {
if let Err(err) = example() {
println!("error running example: {}", err);
process::exit(1);
}
}
```
*/
pub use crate::;