Files
obitools4/doc/book/comm_sampling.qmd
Eric Coissac c94b2974fb Reorganization of the documentation book directory
Former-commit-id: 095acaf9c8649b0e527c6253dc79330feedac865
2023-02-23 23:41:24 +01:00

25 lines
687 B
Plaintext

# Sequence sampling and filtering
## `obigrep` -- filters sequence files according to numerous conditions
{{< include ../lib/descriptions/_obigrep.qmd >}}
### The options usable with `obigrep`
#### Selecting sequences based on their caracteristics
Sequences can be selected on several of their caracteristics, their length, their id, their sequence. Options allow for specifying the condition if selection.
{{< include ../lib/options/selection/_min-count.qmd >}}
{{< include ../lib/options/selection/_max-count.qmd >}}
Example
: Selecting sequence records representing at least five reads in the dataset.
```bash
obigrep -c 5 data_SPER01.fasta > data_norare_SPER01.fasta
```