Would it be possible to get the source code for Moving pictures tutorial?

Hi, I've been using the moving pictures tutorial as a guide for my microbiome analysis university project.

I was asked questions that I couldn't answer when asked specifics about how the code works.

I honestly don't know how it works because it seems to be just a case of calling the functions.

Is there any way I could get an understanding of how these functions work and the coding behind them?

I've already lost marks on my project through not being able to answer this and looking on the site and forum, I cant seem to find anything....

1 Like

Hi @dvdharkin,

Thanks for reaching out, I'd be happy to help out here!

Just as a heads up, QIIME 2 is an open source project, so all of our source code can be found here (for your reference moving forward). Here is the link to the Moving Pictures Tutorial source code as well, for easy access. Hope this helps!

Cheers,
Liz

1 Like

Hi @lizgehret, thanks for the reply.

Just as an example:

.. command-block::

qiime diversity core-metrics-phylogenetic
--i-phylogeny rooted-tree.qza
--i-table table.qza
--p-sampling-depth 1103
--m-metadata-file sample-metadata.tsv
--output-dir core-metrics-results

I understand the use of the input, sampling parameter, and metadata files... but can you explain how QIIME2 uses these files to output the directory and files?

I mean, does it iterate through loops and such? And where could I get this code or an explanation of how QIIME2 does this?

Hi @dvdharkin,

It sounds like you are after the source code for the individual plugins being used within the QIIME 2 framework (q2-diversity being the associated plugin from the example you provided above).

My first recommendation would be to read over our Developer Documentation - this will provide you with some high-level overviews on the architecture of QIIME 2, and will be beneficial in your investigation of specific commands associated with the different QIIME 2 core plugins.

After reviewing that, you can search within the QIIME 2 Github organization for the specific plugins you need further details on (commands, etc) from the associated repositories, and you can investigate the source code from there. Best of luck!

Cheers,
Liz

4 Likes

Hi Liz, Thank you.

Just another quick question: Would this be considered an example of AI?

If so why and if not why not?

Many thanks.

Hi @dvdharkin,

That's a great question! This actually veers a bit off topic from what we'd consider a user support or technical support question, so I will leave the answer to that one in your hands.

A friendly reminder to check out the QIIME 2 Developer Documentation I linked in my previous response - this will provide you with the necessary information on the core functionality and infrastructure of QIIME 2. From there, I'd do some independent research on the definition of AI and whether that aligns with QIIME 2's functionality. Happy studying!

Cheers,
Liz

5 Likes