Example and tutorial
Engine-initiated local analysis
Install MARTi (Engine and GUI) by following the steps on the Download and installation page.
Once installed, download the example reads, custom database, and taxonomy files from here.
Extract the downloaded files and navigate to the
config
directory. Openmarti_test.txt
with a text editor and replace/usr
with the path to your unzippedmarti_example
directory.Open
~/marti_engine_options.txt
in a text editor and update theTaxonomyDir
,MinKNOWRunDirectory
, andMARTiSampleDirectory
paths (replacing/path/to/marti_example/
with the actual path to your unzipped marti_example directory):TaxonomyDir:/path/to/marti_example/databases/taxonomy_6Jul20 MinKNOWRunDirectory:/path/to/marti_example/reads MARTiSampleDirectory:/path/to/marti_example/output
Open a terminal in the
marti_example
directory and run the MARTi Engine with the following command:marti -config config/marti_test.txt
Open another terminal window and launch the MARTi GUI by running
marti_gui
, then open a browser and navigate tolocalhost:3000
.The
marti_test
sample should appear in the sample selection table. View the results in the Dashboard by clicking on the Sample ID.
Docker - GUI-initiated local analysis
The following steps will take you through a local MARTi analysis of a small set of nanopore reads from the Zymo Microbial Mock Community using the docker image.
A docker image of MARTi, which includes all of the required dependencies, is provided on Docker Hub. To get started, ensure that you have installed the Docker Engine on your system.
Once installed, you can pull the MARTi image by running the following command:
docker pull nedpeel/marti
Download the sample reads, custom database, and taxonomy files from here.
Unzip the downloaded files and run the MARTi Docker image with the following command (replacing
/path/to/marti_example/
with the actual path to the unzipped marti_example directory):docker run -i -t -p 3000:3000 -v /path/to/marti_example/databases:/usr/databases -v /path/to/marti_example/reads:/usr/reads -v /path/to/marti_example/output:/usr/output nedpeel/marti
Launch the MARTi GUI by running
marti_gui
in the docker terminal, then open a browser and navigate to GUI’s portlocalhost:3000
.Navigate to the “New analysis” page using the navbar on the lefthand side of the page.
Make sure that the Zymo mock data directory is selected in the
Input data directory
dropdown.In the
Analysis processes
section further down the page, check thezymo_mock
option to add a blast process to the custom zymo database.Scroll to the bottom of the page and click
Start analysis
to initiate the MARTi Engine.At this point you should automatically be redirected to the Samples page. Within a minute or two the Zymo sample will appear in the sample selection table.