Skip to main content

Using aligners in IUCT HPC solution. MAFFT and/or T-COFFEE must be in the path to be used (with conda environment for example).

Project description

IUCT cluster aligners

Python package providing utilities functions to use aligners on IUCT cluster.

Creating the pip package and upload

See Generating distribution archive from this page.

Go to the directory containing the *.toml file and run:

python3 -m build

Upload of the new or updated package

upload to the TestPyPi repository

Use Twine to upload the new package or the new version of the package to TestPyPi:

python3 -m twine upload --repository testpypi dist/*

When prompted for user name, enter __token__ and for password of the token: pypi-AgENdGVzdC5weXBpLm9yZwIkZWQ4OGM3MTAtZDM4Yy00MzI0LTgzZTgtYjdkNTRjNzM3ODgxAAIleyJwZXJtaXNzaW9ucyI6ICJ1c2VyIiwgInZlcnNpb24iOiAxfQAABiCvPdEuI67P7t9GPsxT32wekLrsotDZox91PQYrGUpzuQ.

To test if the package is correctly uploaded and functional, create a virtual env and install the package.

# virtual env
python3 -m venv test_env
source test_env/bin/activate

# download package
python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps hpc-aligners

# launch Python
python

Test the package:

from hpc_aligners import hpc_aligners

The upload is OK if no error message is displayed.

Remove the virtual environment:

rm -r test_env/

upload to the PyPi repository

Use Twine to upload the new package or the new version of the package to PyPi:

python3 -m twine upload dist/*

When prompted for user name, enter __token__ and for password of the token: pypi-AgEIcHlwaS5vcmcCJDQ5OGM0Mjg0LTg4NWUtNDFkMy1hM2E4LTJkOWExMWY2YWFiNwACJXsicGVybWlzc2lvbnMiOiAidXNlciIsICJ2ZXJzaW9uIjogMX0AAAYg_sL0lCguZppaM5q9zYciijuwH3tPz_KQtQE07S5Sg0U

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

hpc_aligners-1.2.0.tar.gz (16.0 kB view hashes)

Uploaded Source

Built Distribution

hpc_aligners-1.2.0-py3-none-any.whl (16.1 kB view hashes)

Uploaded Python 3

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