Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

61 eukaryotic evaluation has completeness and contamination as strings #62

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea/
2 changes: 1 addition & 1 deletion Docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM doejgi/mbin:v1.0.1
## python 3.9.12

LABEL maintainer="[email protected]"
LABEL version="1.0.3"
LABEL version="1.0.4"
LABEL software="NMDC_MAG_Pipeline"
LABEL tags="bioinformatics"

Expand Down
8 changes: 4 additions & 4 deletions Docker/mbin_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,17 @@ def parse_eukcc(file, bin_list):
if 'completeness' not in line:
content = line.rstrip().split("\t")
binname = content[0].replace('.fa','')
eukcc[binname]['completeness'] = content[1]
eukcc[binname]['contamination'] = content[2]
eukcc[binname]['completeness'] = float(content[1])
eukcc[binname]['contamination'] = float(content[2])
eukcc[binname]['ncbi_lineage_tax_ids'] = content[3]
eukcc[binname]['ncbi_lineage'] = content[4]

for bin in bin_list:
if bin['bin_name'] in eukcc:
if 'eukaryotic_evaluation' not in bin:
bin['eukaryotic_evaluation']= dict()
bin['eukaryotic_evaluation']['completeness'] = eukcc[bin['bin_name']]['completeness']
bin['eukaryotic_evaluation']['contamination'] = eukcc[bin['bin_name']]['contamination']
bin['eukaryotic_evaluation']['completeness'] = float(eukcc[bin['bin_name']]['completeness'])
bin['eukaryotic_evaluation']['contamination'] = float(eukcc[bin['bin_name']]['contamination'])
bin['eukaryotic_evaluation']['ncbi_lineage_tax_ids'] = eukcc[bin['bin_name']]['ncbi_lineage_tax_ids']
bin['eukaryotic_evaluation']['ncbi_lineage'] = eukcc[bin['bin_name']]['ncbi_lineage']
update_bin_list.append(bin)
Expand Down
2 changes: 1 addition & 1 deletion mbin_nmdc.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ workflow nmdc_mags {
String checkm_db="/refdata/checkM_DB/checkm_data_2015_01_16"
String eukcc2_db="/refdata/EUKCC2_DB/eukcc2_db_ver_1.2"
String package_container = "microbiomedata/nmdc_mbin_vis:0.7.0"
String container = "microbiomedata/nmdc_mbin@sha256:49e218e9de783d3f307740dd02c9e0213bfaff0b8095abc89eb111a962388430"
String container = "microbiomedata/nmdc_mbin@sha256:2d9d79740eef27b2959d00c34fa5816ff911ec7c4dc80fedb110ab170ce0b868"
}
call stage {
input:
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.3.11
v1.3.12
Loading