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
Built Distribution
Hashes for hpc_aligners-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d17c7c4ab24d80440419d80b3564439c63f8cdc96b37723668cb996bc380f701 |
|
MD5 | 4ab04cfe0b26326661578c0a38abbf08 |
|
BLAKE2b-256 | daf48fb476c29b0f464ceff248e5ffe5dbd622f2d5a6e7278aab97cf41818046 |