Commit 105242ff authored by Penom Nom's avatar Penom Nom
Browse files

- Fix bug with archive.

- Fix bug with overrepresented summary.
parent 6bfe815a
......@@ -97,7 +97,7 @@ class FastQC (Analysis):
results_files = []
for file in os.listdir(self.output_directory):
full_file_path = os.path.join(self.output_directory, file)
if file.endswith(".gz"):
if file.endswith(".zip"):
results_files.append(full_file_path)
elif os.path.isdir(full_file_path):
sample = file[:-7]
......@@ -114,7 +114,8 @@ class FastQC (Analysis):
self._add_result_element(sample, "result", str(summary_info["seqlen"]), "sldpng")
self._add_result_element(sample, "value", str(data_info["seqlen"]), "sldpng")
self._add_result_element(sample, "result", str(summary_info["seqduplication"]), "dlpng")
self._add_result_element(sample, "result", str(summary_info["kmers"]), "kppng")
self._add_result_element(sample, "result", str(summary_info["kmers"]), "kppng")
self._add_result_element(sample, "seqoverrepresentation", str(summary_info["seqoverrepresentation"]))
if os.path.isfile(os.path.join(full_file_path, "Images", "per_base_quality.png")):
self._add_result_element(sample, "img", self._save_file(os.path.join(full_file_path, "Images", "per_base_quality.png"),
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment