Better FASTA Grep
Better FASTA Grep, or BFG for short, is a Grep-like utility for retrieving matching sequence records from a FASTA file. Given one or more patterns and a FASTA file, it searches the file for matching headers and or sequences and outputs any matching headers, sequences, or both.
Features
- Search headers, sequences, or both
- Search via regular expressions or plain strings
- Case-insensitive search
- Select non-matching sequence records
- Count the number of matches
- Display line numbers in the result
- Sequence records, not individual lines, are selected
- Multi-line sequences are treated as singular units
- Flexible output options: output headers, sequences, or both
A screenshot of running BFG under macOS Mojave.
Quick installation
The easiest way to install this program is via pip:
pip install better_fasta_grep
You can then launch bfg using one of the following commands:
bfg --help
better_fasta_grep --help # equivalent
Documentation
© Department for Animal Evolution and Biodiversity 2019
Metadata
Release files for better-fasta-grep 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| better_fasta_grep-1.0.4.tar.gz | 148.8 kB | Without provenance | Details for better_fasta_grep-1.0.4.tar.gz |
Release files / better_fasta_grep-1.0.4.tar.gz
| Download URL | better_fasta_grep-1.0.4.tar.gz |
|---|---|
| Size | 148.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e316f3cef579359aac23c59ae6e3add083b157288c012f52cf5fd85339cb524b
|
|
BLAKE2b-256 checksum How to use checksums |
cf35fbdf454f213416fde4f7b31f30096f888546f733c78fe5c53d4dc1828234
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.12
|
Security for better-fasta-grep 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.