generated from bokulich-lab/q2-plugin-template
-
Notifications
You must be signed in to change notification settings - Fork 14
SampleData[SequencesWithQuality]
Santiago Castro Dau edited this page Apr 22, 2024
·
4 revisions
Collections of sequences with quality scores associated with specified samples (i.e., demultiplexed sequences).
class _SingleLanePerSampleFastqDirFmt(CasavaOneEightSingleLanePerSampleDirFmt):
manifest = model.File('MANIFEST', format=FastqManifestFormat)
metadata = model.File('metadata.yml', format=YamlFormat)
class CasavaOneEightSingleLanePerSampleDirFmt(model.DirectoryFormat):
_CHECK_PAIRED = True
_REQUIRE_PAIRED = False
sequences = model.FileCollection(
r'.+_.+_L[0-9][0-9][0-9]_R[12]_001\.fastq\.gz',
format=FastqGzFormat)
@sequences.set_path_maker
def sequences_path_maker(self, sample_id, barcode_id, lane_number,
read_number):
return '%s_%s_L%03d_R%d_001.fastq.gz' % (sample_id, barcode_id,
lane_number, read_number)
data
├── metadata.yml
├── MANIFEST
├── <sample_id>_<barcode_id>_L<lane_number>_R<read_number>.fastq.gz
⋮
└── <sample_id>_<barcode_id>_L<lane_number>_R<read_number>.fastq.gz