# Install any2fasta with Homebrew, apt

Convert various sequence formats to FASTA. Version 0.8.1 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:any2fasta
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install any2fasta
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install any2fasta
```

  Evidence: Debian stable package indexes: any2fasta from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

## Package facts

- **Package key:** brew:any2fasta
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/any2fasta>
- **Version:** 0.8.1
- **Source summary:** Convert various sequence formats to FASTA
- **Homepage:** <https://github.com/tseemann/any2fasta>
- **Repository:** <https://github.com/tseemann/any2fasta>
- **Upstream docs:** <https://github.com/tseemann/any2fasta#readme>
- **License:** GPL-3.0-only
- **Source archive:** <https://github.com/tseemann/any2fasta/archive/refs/tags/v0.8.1.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- any2fasta (cli)
- any2fasta (alias)

## Uses from macOS

- perl

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.8.1
- Local data: ok
- Upstream repository: https://github.com/tseemann/any2fasta
- Upstream latest detected: v0.8.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

any2fasta is Torsten Seemann's small Perl command-line converter for turning common biological sequence formats into FASTA. Its appeal is deliberately unglamorous: one executable, core Perl modules only, compressed-file support, and output that fits Unix pipelines.

### Project history

The official README explains the motivation directly: existing tools such as readseq and EMBOSS seqret mangled identifiers containing characters like pipes or dots, and heavier libraries such as BioPerl and Biopython were more dependency-heavy and slower for the author's pipeline needs. any2fasta was written as a fast, dependency-light alternative focused on preserving useful IDs.

The tool supports GenBank, EMBL, GFF with sequence, FASTA, FASTQ, CLUSTAL, STOCKHOLM, GFA, and PDB input, with gzip, bzip2, zip, and other Perl IO::Uncompress-supported compression formats.

### Adoption history

any2fasta's adoption is mostly in bioinformatics packaging rather than broad developer-tool culture. The input facts list Homebrew, Debian, and Ubuntu packages, and the README advertises Bioconda installation and shows a Bioconda downloads badge.

Its portability comes from the constraint that it requires Perl 5.10 or higher and only core modules, so it is easy for Linux distributions, Conda channels, and Homebrew to ship without pulling in a scientific Python or BioPerl stack.

### How it is used

The common usage is shell redirection: run any2fasta on a GenBank, FASTQ, GFF, PDB, or compressed input file and redirect FASTA output. The README examples include converting genome.gbk, seq.gbk.gz, protein.pdb.bz2, stdin, multiple inputs, and compressed FASTQ streams.

Options are intentionally small and pipeline-friendly: print help/version, quiet mode, skip bad inputs, normalize nucleotide case, replace non-AGTC characters with N, include GBK/EMBL version IDs, or strip FASTA/FASTQ descriptions.

### Why package nerds care

any2fasta is a good example of the bioinformatics single-script package that earns its place because it avoids both heavyweight frameworks and subtle format-loss bugs. It is not a platform, but it is exactly the kind of executable that becomes sticky in Snakemake, Nextflow, and ad hoc lab pipelines.

For package managers, its simplicity is the feature: a Perl script, GPL-3.0 licensing, no CPAN dependency tree, and tests that can be run with bats.

### Timeline

- 2010s: any2fasta is developed as a lightweight alternative to readseq, EMBOSS seqret, BioPerl, and Biopython for FASTA conversion.
- 2020s: The project is packaged across Bioconda and OS package managers, including Homebrew, Debian, and Ubuntu in the input facts.
- 2025: The public tag list reaches v0.8.1 in the official Git repository.

### Related projects

- readseq and EMBOSS seqret are named by upstream as tools any2fasta was designed to avoid for ID-preservation reasons.
- BioPerl and Biopython are named by upstream as heavier libraries not needed for this script's conversion task.
- Bioconda is an important distribution channel for bioinformatics users.

### Sources

- Official README and source_facts.package-manager/license.


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** any2fasta
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - any2fasta - 0.4.2-2: normalized package name match | Debian stable package indexes: any2fasta from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | convert various sequence formats to FASTA | https://github.com/tseemann/any2fasta
- Debian apt - any2fasta-examples - 0.4.2-2: normalized package name match | Debian stable package indexes: any2fasta-examples from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | convert various sequence formats to FASTA (example data) | https://github.com/tseemann/any2fasta
- Ubuntu apt - any2fasta - 0.4.2-2: normalized package name match | Ubuntu 24.04 LTS package indexes: any2fasta from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | convert various sequence formats to FASTA | https://github.com/tseemann/any2fasta
- Ubuntu apt - any2fasta-examples - 0.4.2-2: normalized package name match | Ubuntu 24.04 LTS package indexes: any2fasta-examples from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | convert various sequence formats to FASTA (example data) | https://github.com/tseemann/any2fasta


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Scientific computing packages](https://www.automicvault.com/pkg/scientific-computing-tools/) - Matched scientific computing metadata.
- [abricate](https://www.automicvault.com/pkg/brew/abricate/) - Popular package that depends on this formula.
- [gffread](https://www.automicvault.com/pkg/brew/gffread/) - Shares av.db curated category or tags: bioinformatics, cli, fasta, science.
- [seqkit](https://www.automicvault.com/pkg/brew/seqkit/) - Shares av.db curated category or tags: bioinformatics, cli, fasta, science.
- [seqtk](https://www.automicvault.com/pkg/brew/seqtk/) - Shares av.db curated category or tags: bioinformatics, cli, fasta, science.
- [abpoa](https://www.automicvault.com/pkg/brew/abpoa/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [abyss](https://www.automicvault.com/pkg/brew/abyss/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [adapterremoval](https://www.automicvault.com/pkg/brew/adapterremoval/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [alevin-fry](https://www.automicvault.com/pkg/brew/alevin-fry/) - Shares av.db curated category or tags: bioinformatics, cli, science.
- [sratoolkit](https://www.automicvault.com/pkg/brew/sratoolkit/) - Local package facts share a topical domain. Shared terms: bioinformatics, cli, conversion, science, sequence.

## Combined YAML source

View the package source record on GitHub. [combined/any2fasta.yml](https://github.com/automic-vault/db/blob/main/combined/any2fasta.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
