cutseq 0.0.45__tar.gz → 0.0.46__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: cutseq
3
- Version: 0.0.45
3
+ Version: 0.0.46
4
4
  Summary: Automatically cut adapter / barcode / UMI from NGS data
5
5
  Home-page: https://github.com/y9c/cutseq
6
6
  License: MIT
@@ -122,6 +122,9 @@ class BarcodeSeq:
122
122
  self.rc = reverse_complement(seq)
123
123
  self.len = len(seq)
124
124
 
125
+ def __repr__(self):
126
+ return f"{self.fw} ({self.rc})"
127
+
125
128
 
126
129
  class BarcodeConfig:
127
130
  """
@@ -640,8 +643,20 @@ def pipeline_paired(
640
643
 
641
644
  # dry run and exit code
642
645
  if settings.dry_run:
646
+ for b in [
647
+ "p5",
648
+ "p7",
649
+ "inline5",
650
+ "inline3",
651
+ "umi5",
652
+ "umi3",
653
+ "mask5",
654
+ "mask3",
655
+ "strand",
656
+ ]:
657
+ print(f"{b}: {getattr(barcode, b)}")
643
658
  for i, m in enumerate(modifiers, 1):
644
- print(f"Step {i}: {m}")
659
+ logging.info(f"Step {i}: {m}")
645
660
  return
646
661
 
647
662
  inpaths = InputPaths(input1, input2)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "cutseq"
3
- version = "0.0.45"
3
+ version = "0.0.46"
4
4
  description = "Automatically cut adapter / barcode / UMI from NGS data"
5
5
  authors = ["Ye Chang <yech1990@gmail.com>"]
6
6
  license = "MIT"
File without changes
File without changes