Skip to main content

Command-line tool for DNA sequence analysis and processing

Project description

DNA IBP Command Line Interface

CLI application for the DNA analyser IBP API wrapper (https://github.com/patrikkaura/dna-analyser-ibp)

Installation requirements

  • Python v.3.10 or better
  • pip

Installation guide

Run the following command in your command line

pip install dna-ibp

Command list

Upon entering any command prefaced by `dna-ibp`, the user is prompted to enter their DNA analyser (https://bioinformatics.ibp.cz/) credentials.
C:\Users\kryst>dna-ibp sequence show all
Enter your email        217346@vutbr.cz
Enter your password
2025-07-31 13:03:51.383532 [INFO]: User 217346@vutbr.cz is trying to login ...
2025-07-31 13:03:51.612553 [INFO]: User 217346@vutbr.cz is successfully loged in ...

This login session lasts for 60 minutes or can be disconnected prematurely by using the --reset/-r command:

C:\Users\kryst>dna-ibp --reset
2025-07-31 13:07:26.229684 [INFO]: User 217346@vutbr.cz logged out...

The --help/-h command can be used after any previous command to list possible sub-commands or arguments:

C:\Users\kryst>dna-ibp sequence --help
usage: dna-ibp sequence [-h] {create,show,data,delete,count} ...

positional arguments:
  {create,show,data,delete,count}
    create              Parser for uploading sequences to your DNA analyser.
    show                Load sequence(s) uploaded in your DNA analyser account.
    delete              Delete chosen sequence(s) from your DNA analyser account.
    count               Recount nucleotides for a given sequence.

options:
  -h, --help            show this help message and exit

Sequence

Create
Uploading sequences on your DNA analyser account is done via the `dna-ibp create` command. Possible arguments are:
--file FILE, -f FILE  Upload a sequence by providing path to a file (.txt of FASTA)
--id ID, -i ID        Upload a sequence via NCBI ID.
--text TEXT, -t TEXT  Upload a sequence via pasting a string.
--circular, --no-circular
                      Specify whether the sequence is circular or not (--circular or --no-circular). (default: True)
--tags [TAGS ...]     (OPTIONAL) Specify tags associated with the uploaded sequence.
--nucleic {DNA,RNA}   Specify whether the sequence nucleic type (choices: DNA, RNA, default val: DNA).
--name NAME, -n NAME  Specify name of the uploaded sequence.
Show
Listing all uploaded sequences on your DNA analyser account is done via the `dna-ibp show` command. Possible arguments are:
positional arguments:
  sequence       Sequence to be processed by related methods.

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

dna_ibp-1.1.0.tar.gz (24.3 kB view details)

Uploaded Source

Built Distribution

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

dna_ibp-1.1.0-py3-none-any.whl (32.0 kB view details)

Uploaded Python 3

File details

Details for the file dna_ibp-1.1.0.tar.gz.

File metadata

  • Download URL: dna_ibp-1.1.0.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for dna_ibp-1.1.0.tar.gz
Algorithm Hash digest
SHA256 99c017aaedd426ec1872ae5e27b6a4c192db398080ce472083cfd3f226ddb587
MD5 c438535321f60e7ed0f3717571a7bfea
BLAKE2b-256 ce6e5ab77b02d4e79353cdd9b24edb068736dd9ad967e962ace92a20400c078f

See more details on using hashes here.

File details

Details for the file dna_ibp-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: dna_ibp-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 32.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for dna_ibp-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f552aedc84d6431f0d7d692630ac49bc2e1130d3d8b27cffd1f232286c6fa0f8
MD5 64975a2c278800ab80e1fc5414203191
BLAKE2b-256 18af5847958d1c63f7998ce9a1a4640303f75d43d9213604b4042bb13329a1ef

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