Skip to content

Commit

Permalink
newest black formating
Browse files Browse the repository at this point in the history
  • Loading branch information
SilasK committed Jul 29, 2024
1 parent 11f6b6f commit d851220
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions atlas/make_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ def make_default_config():

config["simplejob_mem"] = 10
config["simplejob_threads"] = 4
config[
"importqc_params"
] = "iupacToN=t touppercase=t qout=33 addslash=t trimreaddescription=t"
config["importqc_params"] = (
"iupacToN=t touppercase=t qout=33 addslash=t trimreaddescription=t"
)

config["mem"] = MEM
config["large_mem"] = 250
Expand Down
6 changes: 3 additions & 3 deletions workflow/report/bin_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ def add_stats(name, d):
add_stats("All", df)

df.eval("Quality_score = Completeness - 5* Contamination", inplace=True)
div[
"QualityScore"
] = "<p>Quality score is calculated as: Completeness - 5 x Contamination.</p>"
div["QualityScore"] = (
"<p>Quality score is calculated as: Completeness - 5 x Contamination.</p>"
)
add_stats("Quality score >50 ", df.query("Quality_score>50"))
add_stats("Good quality", df.query("Completeness>90 & Contamination <5"))
add_stats("Quality score >90 ", df.query("Quality_score>90"))
Expand Down
6 changes: 3 additions & 3 deletions workflow/report/qc_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,9 @@ def make_plots(

### Insert insert_size_stats
if insert_size_stats is None:
div[
"Insert"
] = "<p>Insert size information is not available for single end reads.</p>"
div["Insert"] = (
"<p>Insert size information is not available for single end reads.</p>"
)
else:
data_insert = pd.read_table(insert_size_stats, index_col=0)
data_insert.index.name = "Sample"
Expand Down

0 comments on commit d851220

Please sign in to comment.