Skip to main content

CodeFactor GitHub

AminoExtract

AminoExtract is a CLI tool and library to work with GFF files, and extract amino acid sequences from nucleotide sequences based on a GFF input file.

AminoExtract is able to filter the genomic features in the input files to make sure your output makes sense and to write the resulting amino acid sequences to either a single file or to individual files for every feature, depending on your inputs as a user.

Additionally, AminoExtract allows you to use GFF data in python by making it accessible in a pandas dataframe structure.

Why this tool?

Because sometimes you just want a dedicated tool to do a mundane task. And sometimes it's just simply necessary to, for example, ensure reproducibility, portability or to facilitate long-term maintainability of larger projects.

Instead of copying this one script used for translating and writing amino acids across all projects, we can now point to AminoExtract for just that.

Installation requirements

AminoExtract requires python 3.10 or later to work.

Dependencies such as Pandas, Biopython and python-magic are installed during the installation procedure.

Installation instructions

AminoExtract can be instsalled easily with conda or pip.
Installation through conda is recommended.

Installation with conda

conda install -c bioconda -c conda-forge aminoextract

Installation with pip

pip install AminoExtract

Installation from source

  1. Download the latest version of AminoExtract by cloning this repository and navigate to the newly created directory.
    Copy and paste the code-snippet below in order to do so.
git clone https://github.com/RIVM-bioinformatics/AminoExtract.git && cd AminoExtract/
  1. If necessary, create a conda-environment and install the necessary dependencies.
    Copy and paste the code-snippet below in order to do so.
mamba env create -f env.yml && conda activate AminoExtract
  1. Now install AminoExtract into the conda environment with the following:
pip install .

AminoExtract is now installed!
You can use AminoExtract from anywhere on your system as long as the conda-environment in which it is installed is active.
You can test if installation was succesful by typing AminoExtract -v which should display the installed version.

Metadata

Release files for AminoExtract 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AminoExtract 0.4.1
File Size Uploaded
aminoextract-0.4.1.tar.gz 113.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for AminoExtract 0.4.1
File Interpreter ABI Platform
aminoextract-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 135.1 kB

Release files / aminoextract-0.4.1.tar.gz

Download URL aminoextract-0.4.1.tar.gz
Size 113.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ead4496a819e86519f0a6b7a3119539c81b0bec289652692ed13617fcbb570f0
BLAKE2b-256 checksum
How to use checksums
365d79b45e01998b6f5989d99821534f9c655d42d628bb285608e2cfdb384a18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / aminoextract-0.4.1-py3-none-any.whl

Download URL aminoextract-0.4.1-py3-none-any.whl
Size 21.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d17067299be3fa31cb01fef6b6ac1519ca8977bc37fc34c405eeaced857b75cc
BLAKE2b-256 checksum
How to use checksums
d414ab535a0c914f903968f29dc22a5e30cec2b85990fd5ea7a1735ad725a77e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page