Automatic Manifest Maker in Python3

Hello all!

Since joining this community my coding skill has improved quite a lot. When I first started I made this tutorial here, which is functional, but not ideal. I decided to update it to be a bit more useful for people here using Python 3. Hope it helps you all.

https://github.com/Micro-Biology/BasicBashCode/blob/master/BasicScripts/Q2_manifest_maker.py

Hosted on github so I can edit it, feel free to use however you want, if you add other formats please share below.

Any feedback please share.

5 Likes

Just came here to add that you can run this using the qiime2 conda environment (tested using 2019.4 conda environment) you just need to install the python package ‘send2trash’ using:

pip install send2trash

4 Likes

Even though this thread is old, I'd like to share a newly created solution of my own. since being faced with the same problem and wanting something general and flexible:

I hope that this is of any use to others!

2 Likes

Hi Markus, this is very useful! I have 3000 samples and I was desperate to find a way to make a manifest file using command lines :heart:

3 Likes