filter-record
Quick Start
- Command:
filter-record < records.txt > filtered.txt - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/filter-record - Full reference: See
references/help.mdfor detailed usage
When To Use This Tool
- Apply EDirect's built-in record-filtering step to a record-oriented text stream.
- Clean or narrow structured NCBI/Entrez records before a downstream transformation stage.
- Keep record filtering inside the
transmutetoolchain instead of building ad hoc shell parsing.
Common Patterns
# 1) Filter a saved record stream
filter-record < records.txt > filtered.txt
# 2) Filter an upstream EDirect stream before the next pipeline stage
some-upstream-command | filter-record | some-downstream-command
Recommended Workflow
- Start from a representative upstream record stream.
- Run
filter-recordin a pipe or with stdin redirection. - Inspect a small sample of the output before scaling up.
- Continue into downstream EDirect steps once the retained record structure looks right.
Guardrails
- This wrapper is just
transmute -txf, sotransmutemust be onPATH. --helpand--versionare not implemented here; both are reported as unrecognized arguments.- Prefer stdin or pipes over undocumented positional-file behavior.
- The real filtering semantics live inside
transmute, so validate behavior on a representative record stream before batching.