Skip to content

FeatureData[MAG]

Santiago Castro Dau edited this page Apr 16, 2024 · 7 revisions

Collection of MAGs.

Artifact Format

class MAGSequencesDirFmt(model.DirectoryFormat):
    pathspec = (
        r"^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-"
        r"[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}\.(fa|fasta)$"
    )

    sequences = model.FileCollection(pathspec, format=DNAFASTAFormat)
    @sequences.set_path_maker
    def sequences_path_maker(self, mag_id):
        return r'%s.fasta' % mag_id

Expected Folder Structure

data
├── <mad_id>.fa
⋮
└── <mad_id>.fa

Where to find FeatureData[MAG]

As Input

🏠 Home

🧑🏻‍🏫 Tutorials

🎬 Actions

Clone this wiki locally