# Install any2fasta with Homebrew, apt

Convert various sequence formats to FASTA. Version 0.8.1 via Homebrew; verified from local package data. Also installable with debian: sudo apt install any2fasta.

## 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
- **Version:** 0.8.1
- **Source summary:** Convert various sequence formats to FASTA
- **Homepage:** <https://github.com/tseemann/any2fasta>
- **Repository:** <https://github.com/tseemann/any2fasta>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- any2fasta (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.8.1
## 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

## 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


## Combined YAML source

View the package source record on GitHub. [combined/any2fasta.yml](https://github.com/mxcl/pkgdb/blob/main/combined/any2fasta.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
