microbiomedata / metaMAGs

Workflow for metagenome assembled genomes generation.
5 stars 4 forks source link

29 add support for passing a contig name mapping file to mbinpy #30

Closed chienchi closed 4 months ago

chienchi commented 4 months ago

The update using optional File? variable, if there is no map file, it assumes the names/IDs are consistent among all inputs files. It should be work as previous.

Not Map File

Test input:
/global/cfs/cdirs/m3408/aim2/metagenome/MAGs/input_nersc.json

Test output:
/global/cfs/cdirs/m3408/aim2/metagenome/MAGs/output

With Map File

Test input:
/global/cfs/cdirs/m3408/aim2/metagenome/MAGs/input_nersc_with_map.json

Test output:
/global/cfs/cdirs/m3408/aim2/metagenome/MAGs/output2