Skip to content

Commit d73b6a7

Browse files
committed
del raw_reverse_seqs
1 parent e600bfb commit d73b6a7

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

src/qp_klp/PacBioMetagenomicWorkflow.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ def __init__(self, **kwargs):
2626
if 'overwrite_prep_with_original' in self.kwargs:
2727
self.overwrite_prep_with_original = \
2828
self.kwargs['overwrite_prep_with_original']
29-
self.files_regex = 'long_read'
3029
self.pipeline = Pipeline(self.kwargs['config_fp'],
3130
self.kwargs['run_identifier'],
3231
self.kwargs['uif_path'],

src/qp_klp/Workflows.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import logging
99
from shutil import rmtree
1010
from .Assays import ASSAY_NAME_AMPLICON
11+
from metapool.sample_sheet import PROTOCOL_NAME_PACBIO_SMRT
1112
from sequence_processing_pipeline.util import determine_orientation
1213

1314

@@ -600,6 +601,10 @@ def _get_postqc_fastq_files(self, out_dir, project):
600601
if self.pipeline.pipeline_type != ASSAY_NAME_AMPLICON:
601602
del (files['raw_barcodes'])
602603

604+
# PacBio doesn't have reverse reads
605+
if self.protocol_type == PROTOCOL_NAME_PACBIO_SMRT:
606+
del (files['raw_reverse_seqs'])
607+
603608
# confirm expected lists of reads are not empty.
604609
for f_type in files:
605610
if not files[f_type]:

src/sequence_processing_pipeline/util.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,6 @@
3232
'html': REC(r'^(.*).html$'),
3333
'json': REC(r'^(.*).json$')
3434
},
35-
'long_read': {
36-
'fastq': REC(r'^(.*)_R1.fastq\.gz$'),
37-
'interleave_fastq': REC(r'^(.*)_R1.interleave\.fastq\.gz$'),
38-
'html': REC(r'^(.*)_R1.html$'),
39-
'json': REC(r'^(.*)_R1.json$')
40-
},
4135
}
4236

4337

tests/test_PacBioWorflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from shutil import rmtree
1414
from pathlib import Path
1515
import pandas as pd
16-
from metapool.sample_sheet import (PROTOCOL_NAME_PACBIO_SMRT)
16+
from metapool.sample_sheet import PROTOCOL_NAME_PACBIO_SMRT
1717
from sequence_processing_pipeline.PipelineError import PipelineError
1818
from qp_klp.Assays import ASSAY_NAME_METAGENOMIC
1919
from qiita_client.testing import PluginTestCase

0 commit comments

Comments
 (0)