cutseq 0.0.8__tar.gz → 0.0.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -33,7 +33,7 @@ from cutadapt.modifiers import (
|
|
|
33
33
|
)
|
|
34
34
|
from cutadapt.pipeline import PairedEndPipeline, SingleEndPipeline
|
|
35
35
|
from cutadapt.predicates import Predicate, TooShort
|
|
36
|
-
from cutadapt.report import Statistics
|
|
36
|
+
from cutadapt.report import Statistics, minimal_report
|
|
37
37
|
from cutadapt.runners import make_runner
|
|
38
38
|
from cutadapt.steps import (
|
|
39
39
|
PairedEndFilter,
|
|
@@ -300,6 +300,7 @@ def pipeline_single(input1, output1, short1, untrimmed1, barcode, settings):
|
|
|
300
300
|
)
|
|
301
301
|
pipeline = SingleEndPipeline(modifiers, steps)
|
|
302
302
|
_stats = runner.run(pipeline, Progress(), outfiles)
|
|
303
|
+
print(minimal_report(_stats, time=None, gc_content=None), file=sys.stderr)
|
|
303
304
|
# _ = stats.as_json()
|
|
304
305
|
outfiles.close()
|
|
305
306
|
|
|
@@ -495,12 +496,13 @@ def pipeline_paired(
|
|
|
495
496
|
)
|
|
496
497
|
pipeline = PairedEndPipeline(modifiers, steps)
|
|
497
498
|
_stats = runner.run(pipeline, Progress(), outfiles)
|
|
499
|
+
print(minimal_report(_stats, time=None, gc_content=None), file=sys.stderr)
|
|
498
500
|
# _ = stats.as_json()
|
|
499
501
|
outfiles.close()
|
|
500
502
|
|
|
501
503
|
|
|
502
504
|
def run_cutseq(args):
|
|
503
|
-
barcode_config = BarcodeConfig(args.replace(" ", "").
|
|
505
|
+
barcode_config = BarcodeConfig(args.adapter_scheme.replace(" ", "").upper())
|
|
504
506
|
settings = CutadaptConfig()
|
|
505
507
|
settings.rname_suffix = args.with_rname_suffix
|
|
506
508
|
settings.ensure_inline_barcode = args.ensure_inline_barcode
|
|
File without changes
|
|
File without changes
|