FeatureData[NOG] - bokulich-lab/q2-annotate GitHub Wiki

Functional annotation of one or more sets of contigs or MAGs.

Artifact Format

class OrthologAnnotationDirFmt(model.DirectoryFormat):
    pathspec = r'.+\.annotations'
    annotations = model.FileCollection(pathspec, format=OrthologFileFmt)

    @annotations.set_path_maker
    def annotations_path_maker(self, file_name):
        return file_name.split(sep="_")[0]

Expected Folder Structure

data
├── <ID>.annotations
⋮
└── <ID>.annotations

Where to find FeatureData[NOG]

As Output

As Input and Output

Relevant Resources