You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
help="a summary file generated by albacore or guppy. if provided,pyqoQC is used to generate a HTML report. ",
68
+
help="a summary file generated by albacore or guppy. if provided,pyqoQC is used to generate a HTML report. ",
69
69
default=None,
70
70
type=str,
71
71
dest="summary",
72
72
)
73
73
74
74
pipeline_group.add_argument(
75
75
"--summary-percentage",
76
-
help="percentage of the sequencing summary file to process. Use this option if you have memory issue (typically with promethium runs). If unset, nanomerge will set this value automatically so that the final file to process do not exceed 16Go. This value can be cahnged with --summary-max--gb",
76
+
help="percentage of the sequencing summary file to process. Use this option if you have memory issue typically with promethium runs). If unset, nanomerge will set this value automatically so that the final file to process do not exceed 16Go. This value can be changed with --summary-max--gb",
77
77
default=None,
78
78
type=int,
79
79
dest="summary_percentage",
80
80
)
81
81
82
82
pipeline_group.add_argument(
83
83
"--summary-max-gb",
84
-
help="percentage of the sequencing summary file to process. Use :this option if you have memory issue (typically with promethium runs. ",
84
+
help="max size of the summary file before performing sub sampling automatically. Use this option if you have memory issue.",
85
85
default=16,
86
86
type=float,
87
87
dest="summary_max_gb",
88
88
)
89
89
90
+
pipeline_group.add_argument(
91
+
"--promethion",
92
+
action="store_true",
93
+
help="set summary_percentage to 10%%"
94
+
)
95
+
90
96
self.add_argument("--run", default=False, action="store_true", help="execute the pipeline directly")
91
97
92
98
defparse_args(self, *args):
@@ -152,6 +158,8 @@ def main(args=None):
152
158
153
159
# if the sequencing summary file is large (larger than 16gb by default) we sub sample the data
154
160
# The percentage is set automatically to have a final file of 16Gb (by default)
subsample = f'<b style="color:red">Sub sampling was performed. Numbers here below are approximation of must be multiplies by {ratio} since only {percentage} of the data were used to generate the tables and plots</b>'
s = SummaryModule2(data, f"""Your data are available in {dirs} directories. Please see the summary plots here below (if sequence summary was provided), generated with <a href="https://github.com/a-slide/pycoQC">pycoQC</a> software.""" + pycodata)
287
+
# final report
288
+
s = SummaryModule2(data, f"""
289
+
<h2>General Information</h2>
290
+
<p>Your data (fastq files) are available in {dirs} directories. Please see the summary plots here below (if sequence summary was provided), generated with <a href="https://github.com/a-slide/pycoQC">pycoQC</a> software.</p>""" + js + htmltable+f"Total number of reads passing filtering: {total_reads}" + "<hr>" + "<h2>Quality Control information</h2>" + subsample + pycodata)
195
291
else:
196
-
s = SummaryModule2(data, f"no summary found. Please checkout the sub directories {dirs}. They should contain your final fastq files for each project.")
292
+
s = SummaryModule2(data, f"No summary was found. Your data (fastq files) are available in {dirs} directories." + js + htmltable +f"Total number of reads passing filtering: {total_reads}" )
0 commit comments