hicstuff 3.2.3__tar.gz → 3.2.4__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.
- {hicstuff-3.2.3/hicstuff.egg-info → hicstuff-3.2.4}/PKG-INFO +1 -1
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff/commands.py +3 -3
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff/stats.py +1 -1
- hicstuff-3.2.4/hicstuff/version.py +1 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4/hicstuff.egg-info}/PKG-INFO +1 -1
- {hicstuff-3.2.3 → hicstuff-3.2.4}/setup.py +1 -1
- hicstuff-3.2.3/hicstuff/version.py +0 -1
- {hicstuff-3.2.3 → hicstuff-3.2.4}/LICENSE +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/MANIFEST.in +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/README.md +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff/__init__.py +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff/cutsite.py +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff/digest.py +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff/distance_law.py +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff/filter.py +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff/hicstuff.py +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff/io.py +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff/iteralign.py +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff/log.py +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff/main.py +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff/pipeline.py +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff/view.py +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff.egg-info/SOURCES.txt +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff.egg-info/dependency_links.txt +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff.egg-info/entry_points.txt +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff.egg-info/requires.txt +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/hicstuff.egg-info/top_level.txt +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/requirements.txt +0 -0
- {hicstuff-3.2.3 → hicstuff-3.2.4}/setup.cfg +0 -0
|
@@ -55,7 +55,7 @@ import hicstuff.cutsite as hcc
|
|
|
55
55
|
import hicstuff.digest as hcd
|
|
56
56
|
import hicstuff.iteralign as hci
|
|
57
57
|
import hicstuff.filter as hcf
|
|
58
|
-
import hicstuff.stats as
|
|
58
|
+
import hicstuff.stats as hcstats
|
|
59
59
|
from hicstuff.version import __version__
|
|
60
60
|
import hicstuff.io as hio
|
|
61
61
|
from hicstuff.log import logger
|
|
@@ -1670,8 +1670,8 @@ class Stats(AbstractCommand):
|
|
|
1670
1670
|
|
|
1671
1671
|
def execute(self):
|
|
1672
1672
|
log_file = self.args["<log>"]
|
|
1673
|
-
stats =
|
|
1674
|
-
|
|
1673
|
+
stats = hcstats.get_pipeline_stats(log_file)
|
|
1674
|
+
hcstats.print_pipeline_stats(stats)
|
|
1675
1675
|
|
|
1676
1676
|
def parse_bin_str(bin_str):
|
|
1677
1677
|
"""Bin string parsing
|
|
@@ -45,7 +45,7 @@ def get_pipeline_stats(log_file):
|
|
|
45
45
|
|
|
46
46
|
# 2. Number (% of total) of (un)mapped reads
|
|
47
47
|
tot_mapped = [s for s in log_lines if re.search("mapped with Q ", s)][0]
|
|
48
|
-
tot_mapped = re.sub(".*Q >=
|
|
48
|
+
tot_mapped = re.sub(".*Q >= \d+ \(", "", tot_mapped)
|
|
49
49
|
tot_mapped = re.sub("/.*", "", tot_mapped)
|
|
50
50
|
tot_mapped = int(float(tot_mapped))
|
|
51
51
|
tot_unmapped = fastq_pairs*2 - tot_mapped
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '3.2.4'
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '3.2.3'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|