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

Getting started

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        example@example.com
Enter your password
2025-07-31 13:03:51.383532 [INFO]: User example@example.com is trying to login ...
2025-07-31 13:03:51.612553 [INFO]: User example@example.com 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 example@example.com 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 --help
usage: dna-ibp [-h] [--version] [--reset] {sequence,g4hunter,rloop,zdna,cpx,g4killer,p53} ...

positional arguments:
  {sequence,g4hunter,rloop,zdna,cpx,g4killer,p53}
    sequence            Parser for sequence related operations.
    g4hunter            Parser for methods of the G4Hunter tool.
    rloop               Parser for methods of the R-loop tracker tool.
    zdna                Parser for methods of the Z-DNA hunter tool.
    cpx                 Parser for methods of the CpX hunter tool.
    g4killer            Parser for methods of the G4Killer tool.
    p53                 Parser for methods of the P53 predictor tool.

options:
  -h, --help            show this help message and exit
  --version, -v         show program's version number and exit
  --reset, -r

Usage examples

  • User wants to upload a sequence with NCBI ID NC_010000, name Shewanella baltica and tags SMALL and PLASM:

C:\Users\kryst>dna-ibp sequence create --id NC_010000 --name "Shewanella baltica" --tags SMALL PLASM


  • User wants to analyse all uploaded sequences using the R-loop tracker tool, with default parameters:

C:\Users\kryst>dna-ibp rloop analyse all


  • User wants to display the latest G4Hunter analysis result:

C:\Users\kryst>dna-ibp g4hunter show -1


  • User wants to export all Z-DNA hunter analysis results on their account to a .csv file to the current working directory:

C:\Users\kryst>dna-ibp zdna export all --path ./


  • User wants to delete a CpX analysis result with the ID: 7c6e6d56-da6e-4355-bcc8-5601465d646e:

C:\Users\kryst>dna-ibp cpx delete 7c6e6d56-da6e-4355-bcc8-5601465d646e


  • User wants to analyse a sequence GGACATGCCCGGGCATGGGG using G4Killer tool (with complementary sequence setting turned OFF):

C:\Users\kryst>dna-ibp g4killer run GGACATGCCCGGGCATGTCC --no-comp

Documentation

To see all valid commands see the full list of CLI commands.

Dependencies

DNA_analyser_IBP >=3.7.1

Authors

License

This project is licensed under the GPL-3.0 License - see the LICENSE.md file for details.

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.2.0.tar.gz (24.9 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.2.0-py3-none-any.whl (32.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dna_ibp-1.2.0.tar.gz
  • Upload date:
  • Size: 24.9 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.2.0.tar.gz
Algorithm Hash digest
SHA256 566a8afbad457d3377675e524cf7ed5bcb8f90c947f990b0f37e7bd2c498ba5c
MD5 74cd9742d937de984595051d46504042
BLAKE2b-256 d9862cd2d6612f69de1eae8dc8dee93f1cf17d74949a4b1f820e3fdee3276996

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dna_ibp-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 32.3 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aea873e549c53d896cfe95776a99131f19df9d1dafa1bba0f964451991393cdd
MD5 02a45af248725444cde354b624210612
BLAKE2b-256 2a501a0b7df11f085820bd39a231e35d73bb199d8f209c9dccb5730820bb9722

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