Skip to content

Commit

Permalink
X
Browse files Browse the repository at this point in the history
  • Loading branch information
John Major committed Nov 28, 2024
1 parent 1794425 commit eccda1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion config/external_tools/multiqc_header.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ report_header_info:
- FQ->BAM.sort avg Costs: "REGSUB_TOTALCOST"
- BAM mrkdup avg Cost: "REGSUB_MRKDUPCOST"
- Results Dir (GB): "REGSUB_TOTALSIZE"
- Contact: "REGSUB_EMAIL"

3 changes: 1 addition & 2 deletions workflow/rules/multiqc_final_wgs.smk
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ rule multiqc_final_wgs: # TARGET: the big report
gbranch=config["gitbranch"],
gtag=config["gittag"],
cluster_sample=f"multiqc_final",
cemail=config["day_contact_email"],
log:
f"{MDIR}reports/logs/all__mqc_fin_a.log",
conda:
Expand All @@ -99,8 +100,6 @@ rule multiqc_final_wgs: # TARGET: the big report
size=$(du -hs results | cut -f1) >> {log} 2>&1;
perl -pi -e "s/REGSUB_TOTALSIZE/$size/g;" $(dirname {output})/multiqc_header.yaml >> {log} 2>&1;
sed -i "s/REGSUB_EMAIL/${{DAY_CONTACT_EMAIL//@/\\\\@}}/g" $(dirname {output})/multiqc_header.yaml >> {log} 2>&1;
source bin/proc_spot_price_logs.sh >> {log} 2>&1;
perl -pi -e "s/REGSUB_SPOTCOST/median: \\\$dbill$MEDIAN_SPOT_PRICE mean: \\\$dbill$AVERAGE_SPOT_PRICE ( avg cost per vcpu,per min: \\\$dbill$VCPU_COST_PER_MIN ) /g;" $(dirname {output})/multiqc_header.yaml >> {log} 2>&1;
perl -pi -e "s/REGSUB_SPOTINSTANCES/ $INSTANCE_TYPES_LINE /g;" $(dirname {output})/multiqc_header.yaml >> {log} 2>&1;
Expand Down

0 comments on commit eccda1a

Please sign in to comment.