Skip to content

SampleData[Kraken2Outputs]

Santiago Castro Dau edited this page Apr 23, 2024 · 2 revisions

TODO: Description.

Artifact Format

class Kraken2OutputDirectoryFormat(model.DirectoryFormat):
    reports = model.FileCollection(
        r'.+output\.(txt|tsv)$', format=Kraken2OutputFormat
    )

    @reports.set_path_maker
    def reports_path_maker(self, sample_id, mag_id=None):
        prefix = f'{sample_id}/{mag_id}_' if mag_id else f'{sample_id}/'
        return f'{prefix}output.txt'

class Kraken2OutputFormat(model.TextFileFormat):
   ...

Expected Folder Structure

data
├── <prefix>output.txt
⋮
└── <prefix>output.txt

Where to find SampleData[Kraken2Outputs]

As Input

As Output

🏠 Home

🧑🏻‍🏫 Tutorials

🎬 Actions

Clone this wiki locally