Skip to main content

IRIDA uploader: upload NGS data to IRIDA system

Project description

IRIDA Uploader

Integration Tests Documentation Status install with bioconda

Download / Installation

The IRIDA Uploader is available via pip and bioconda

Installation instructions can be found in our documentation.

ReadTheDocs

Tutorial

You can find a walkthrough and tutorial on the phac-nml github

https://github.com/phac-nml/irida-uploader-tutorial

Running the project from source code

You can build an environment and run the uploader from source code with the following commands:

$ make
$ source .virtualenv/bin/activate
$ irida-uploader --help

You can also build and run the GUI with:

$ make gui
$ source .virtualenv/bin/activate
$ irida-uploader-gui

Creating the Windows installer from source code

A new windows installer can be built on linux, so first see the installation instructions for installing on linux in our documentation.

You will also need nsis installed to create the windows installer.

$ sudo apt install nsis

Then run the command:

$ make windows

This will create a new installer in the folder build/nsis/ with a name similar to IRIDA_Uploader_GUI_0.X.X.exe

Running Tests

Unit tests

Running the unittests can be done with the command:

$ make unittests

Integration tests

To run integration tests You will need to download and install chromedriver http://chromedriver.chromium.org/downloads

You will need to grant the IRIDA instance access to the mysql database needed for the tests

$ mysql -e "CREATE USER 'test'@'localhost' IDENTIFIED BY 'test'; GRANT ALL ON irida_uploader_test.* to 'test'@'localhost';"

Running the IRIDA integration tests can be done with the command:

$ make integrationtests branch=<IRIDA github branch to test against>

Example:

$ make integrationtests branch=development

Tests will be logged to ~/.cache/irida_uploader_test/log/irida-uploader.log

PEP8 tests

You can run pep8 tests with:

$ make pep8

Test Coverage

You can run the entire test suite and generate a coverage report with the following command:

$ make coverage

To view the detailed report, open the generated htmlcov/index.html with your web browser.

Documentation

You can ReadTheDocs here.

Alternatively, documentation is built locally using mkdocs.

It can be built with the command:

$ make docs

Or you can install mkdocs to your system:

$ sudo apt install mkdocs
$ mkdocs build

HTML docs will be generated to site/ for local browsing

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

iridauploader-0.9.6.tar.gz (122.6 kB view details)

Uploaded Source

Built Distribution

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

iridauploader-0.9.6-py3-none-any.whl (182.4 kB view details)

Uploaded Python 3

File details

Details for the file iridauploader-0.9.6.tar.gz.

File metadata

  • Download URL: iridauploader-0.9.6.tar.gz
  • Upload date:
  • Size: 122.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for iridauploader-0.9.6.tar.gz
Algorithm Hash digest
SHA256 ba134c3f53268dbf5158f98e9f2999816e42a1f56e8b511bc8dbac8ecf81a7b8
MD5 7ee2e87361c5d4c5da1f0f01a4758bfd
BLAKE2b-256 c5e9ffed49cd0e1f3a3d4ac2ad484a36538b7ade46589f4b5c482bcd1944765f

See more details on using hashes here.

File details

Details for the file iridauploader-0.9.6-py3-none-any.whl.

File metadata

  • Download URL: iridauploader-0.9.6-py3-none-any.whl
  • Upload date:
  • Size: 182.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for iridauploader-0.9.6-py3-none-any.whl
Algorithm Hash digest
SHA256 840fcbdd54dee5d32ae1d25a0b979bd1a4e219792b64468f40cb3de637fa0112
MD5 56000d9559aa74e9aed6aeb1ca090453
BLAKE2b-256 8ffeb91e41e4e7ff26af05ac79b4ac9c9cb05a4de74cc9163491e65a6b6d7cd0

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