Skip to main content

AminoExtract is an application to extract aminoacid sequences from a fasta file based on a GFF.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

AminoExtract-0.3.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

AminoExtract-0.3.0-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file AminoExtract-0.3.0.tar.gz.

File metadata

  • Download URL: AminoExtract-0.3.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for AminoExtract-0.3.0.tar.gz
Algorithm Hash digest
SHA256 449305452854ba24b79c2b68d613458038f16acee3769add5d749305410a51bf
MD5 efff051d08e5372efb76fcbb08b475b1
BLAKE2b-256 667655b819d981b6e8caf8995d20e229165f7793ce583d7e3878d6ffab79f49a

See more details on using hashes here.

File details

Details for the file AminoExtract-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: AminoExtract-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for AminoExtract-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 951d90a839f1a4a9fde41d75734c48c12659382f95886b46c84889aa20f5918d
MD5 d4aa785b909d3bc2ac59e32f1bb6f520
BLAKE2b-256 ce0471256f812b6afcf6a35f55911e3e1b325ea33829607d9113a575e32d2db1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page