Skip to main content

Automatize the download of DNA sequences from NCBI, sort them according to their taxonomy and filter them with a gene name (provided as a regular expression)

Project description

nsdpy

License: MIT pypi Python 3.8 Documentation Status Coverage Status

Your support means the world to me and helps me continue developing and maintaining this repository to benefit the entire community. Thank you for making a difference in the open-source world!

Buy Me A Coffee

Introduction

nsdpy (nucleotide or NCBI sequence downloader) aims to ease the download and sort of big bacth of DNA sequences from the NCBI database. It can also be usefull to filter the sequences based on their annotations. Using nsdpy the user can:

  • Search NCBI nucleotide database
  • Download the fasta files or the cds_fasta files corresponding to the result of the search
  • Sort the sequences based on their taxonomy
  • Select coding sequences from cds files based on the gene names using one or more regular expressions. This can help the user retrieve some sequences for which the gene name is annotated in another field.
  • Retrieve the taxonomic information and add it to the output sequences.

Quick start

  • Clone the repo from Github:
git clone https://github.com/RaphaelHebert/nsdpy.git
  • pip: depending on the user environment pip may be replaced by pip3 if pip3 is used
pip install nsdpy

minimum python version for nsdpy: 3.8.2

Workflow

Usage

Google colab

nsdpy colab notebook

Command line

nsdpy -r "USER'S REQUEST" [OPTIONS]

Authors and acknowledgment

Raphael Hebert Emese Meglecz

Support

License

Code and documentation copyright 2021 the nsdpy authors. Code released under the MIT License.

More Documentation

Official documentation: Readthedocs

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

nsdpy-1.0.0.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

nsdpy-1.0.0-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

Details for the file nsdpy-1.0.0.tar.gz.

File metadata

  • Download URL: nsdpy-1.0.0.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.2.0-1012-azure

File hashes

Hashes for nsdpy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 da5c37f99f77f9a2f6cbfa82ea1aa7958b83a721318137f427655c1a8224ac7a
MD5 a950e186fa45dce809b19a18789416a6
BLAKE2b-256 bcf93a298deb1e2211aa128a8eb7bf8084e6da26e4fc1a5cbc21fcf3a1aca916

See more details on using hashes here.

File details

Details for the file nsdpy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: nsdpy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.5 Linux/6.2.0-1012-azure

File hashes

Hashes for nsdpy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f25e7dd738eccbac1c05d6b8e8592fa1d7e77308dd6b07d64b87060d97b0bb6
MD5 89f9aeec8b87e2eda94305ce38b215fa
BLAKE2b-256 d25f2a86a241e8e1b569ff622da610f9d3320be5e213c0d68d18eae8dc928213

See more details on using hashes here.

Supported by

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