Skip to content

Commit

Permalink
release 0.0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
y9c committed Apr 22, 2024
1 parent 50f6b86 commit 3e1faab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions cutseq/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
)
from cutadapt.pipeline import PairedEndPipeline, SingleEndPipeline
from cutadapt.predicates import Predicate, TooShort
from cutadapt.report import Statistics
from cutadapt.report import Statistics, minimal_report
from cutadapt.runners import make_runner
from cutadapt.steps import (
PairedEndFilter,
Expand Down Expand Up @@ -300,6 +300,7 @@ def pipeline_single(input1, output1, short1, untrimmed1, barcode, settings):
)
pipeline = SingleEndPipeline(modifiers, steps)
_stats = runner.run(pipeline, Progress(), outfiles)
print(minimal_report(_stats, time=None, gc_content=None), file=sys.stderr)
# _ = stats.as_json()
outfiles.close()

Expand Down Expand Up @@ -495,12 +496,13 @@ def pipeline_paired(
)
pipeline = PairedEndPipeline(modifiers, steps)
_stats = runner.run(pipeline, Progress(), outfiles)
print(minimal_report(_stats, time=None, gc_content=None), file=sys.stderr)
# _ = stats.as_json()
outfiles.close()


def run_cutseq(args):
barcode_config = BarcodeConfig(args.replace(" ", "").adapter_scheme.upper())
barcode_config = BarcodeConfig(args.adapter_scheme.replace(" ", "").upper())
settings = CutadaptConfig()
settings.rname_suffix = args.with_rname_suffix
settings.ensure_inline_barcode = args.ensure_inline_barcode
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "cutseq"
version = "0.0.8"
version = "0.0.9"
description = "Automatically cut adapter / barcode / UMI from NGS data"
authors = ["Ye Chang <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit 3e1faab

Please sign in to comment.