Skip to content

Commit cf7d057

Browse files
authored
Merge pull request #559 from nf-core/TCLamnidis-patch-1
Fixed header of nuclear_contamination.txt
2 parents 47c016b + b18c108 commit cf7d057

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
5656
* [#504](https://github.com/nf-core/eager/issues/504) - Removed uninformative sexdeterrmine-snps plot from MultiQC report.
5757
* Nuclear contamination is now reported with the correct library names.
5858
* Merged all tutorials and FAQs into `usage.md` for display on nf-co.re
59+
* Corrected header of nuclear contamination table (`nuclear_contamination.txt`).
5960

6061
### `Dependencies`
6162

bin/print_x_contamination.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def make_float(x):
2525
Input_files=sys.argv[1:]
2626

2727
output = open("nuclear_contamination.txt", 'w')
28-
print ("Individual", "Method1_MOM_estimate", "Method1_MOM_SE", "Method1_ML_estimate", "Method1_ML_SE", "Method2_MOM_estimate", "Method2_MOM_SE", "Method2_ML_estimate", "Method2_ML_SE", sep="\t", file=output)
28+
print ("Individual", "Num_SNPs", "Method1_MOM_estimate", "Method1_MOM_SE", "Method1_ML_estimate", "Method1_ML_SE", "Method2_MOM_estimate", "Method2_MOM_SE", "Method2_ML_estimate", "Method2_ML_SE", sep="\t", file=output)
2929
for fn in Input_files:
3030
## For each file, reset the values to "N/A" so they don't carry over from last file.
3131
mom1, err_mom1= "N/A","N/A"

0 commit comments

Comments
 (0)