-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add unit test for JobManager get_finished_jobs
- Loading branch information
1 parent
df35a06
commit 62d53ec
Showing
4 changed files
with
278 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,216 @@ | ||
{ | ||
"type": "MAGs: v1.3.10", | ||
"cromwell_jobid": "9492a397-eb30-472b-9d3b-abc123456789", | ||
"nmdc_jobid": "nmdc:66cf64b6-7462-11ef-8b84-abc123456789", | ||
"conf": { | ||
"git_repo": "https://github.com/microbiomedata/metaMAGs", | ||
"release": "v1.3.10", | ||
"wdl": "mbin_nmdc.wdl", | ||
"activity_id": "nmdc:wfmag-11-g7msr323.1", | ||
"activity_set": "mags_activity_set", | ||
"was_informed_by": "nmdc:omprc-11-9cdxha98", | ||
"trigger_activity": "nmdc:wfmgan-11-jv8kx789.1", | ||
"iteration": 1, | ||
"input_prefix": "nmdc_mags", | ||
"inputs": { | ||
"proj": "nmdc:wfmag-11-g7msr323.1", | ||
"contig_file": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_contigs.fna", | ||
"sam_file": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgas-11-0qvjnc54.1/nmdc_wfmgas-11-0qvjnc54.1_pairedMapped_sorted.bam", | ||
"gff_file": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_functional_annotation.gff", | ||
"proteins_file": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_proteins.faa", | ||
"cog_file": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_cog.gff", | ||
"ec_file": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_ec.tsv", | ||
"ko_file": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_ko.tsv", | ||
"pfam_file": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_pfam.gff", | ||
"tigrfam_file": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_tigrfam.gff", | ||
"crispr_file": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_crt.crisprs", | ||
"product_names_file": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_product_names.tsv", | ||
"gene_phylogeny_file": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_gene_phylogeny.tsv", | ||
"lineage_file": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_scaffold_lineage.tsv", | ||
"map_file": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_contig_names_mapping.tsv" | ||
}, | ||
"input_data_objects": [ | ||
{ | ||
"id": "nmdc:dobj-11-1x850k20", | ||
"name": "nmdc_wfmgan-11-jv8kx789.1_contigs.fna", | ||
"description": "Assembly contigs (remapped) for nmdc:wfmgan-11-jv8kx789.1", | ||
"url": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_contigs.fna", | ||
"md5_checksum": "6debed079383eeca2045ce23b0576607", | ||
"file_size_bytes": 2084209623, | ||
"data_object_type": "Assembly Contigs" | ||
}, | ||
{ | ||
"id": "nmdc:dobj-11-fkj2kt47", | ||
"name": "nmdc_wfmgas-11-0qvjnc54.1_pairedMapped_sorted.bam", | ||
"description": "Metagenome Alignment BAM file for nmdc:omprc-11-9cdxha98", | ||
"url": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgas-11-0qvjnc54.1/nmdc_wfmgas-11-0qvjnc54.1_pairedMapped_sorted.bam", | ||
"md5_checksum": "88ec004bd037a3820060427098798666", | ||
"file_size_bytes": 15704979428, | ||
"data_object_type": "Assembly Coverage BAM" | ||
}, | ||
{ | ||
"id": "nmdc:dobj-11-f9rnav80", | ||
"name": "nmdc_wfmgan-11-jv8kx789.1_functional_annotation.gff", | ||
"description": "Functional Annotation for nmdc:wfmgan-11-jv8kx789.1", | ||
"url": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_functional_annotation.gff", | ||
"md5_checksum": "349cae9b4fe62bb910f08a183e57b475", | ||
"file_size_bytes": 1320869282, | ||
"data_object_type": "Functional Annotation GFF" | ||
}, | ||
{ | ||
"id": "nmdc:dobj-11-btqzf393", | ||
"name": "nmdc_wfmgan-11-jv8kx789.1_proteins.faa", | ||
"description": "FASTA Amino Acid File for nmdc:wfmgan-11-jv8kx789.1", | ||
"url": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_proteins.faa", | ||
"md5_checksum": "292eae73923605dae2ef9f5d582e4603", | ||
"file_size_bytes": 1075716574, | ||
"data_object_type": "Annotation Amino Acid FASTA" | ||
}, | ||
{ | ||
"id": "nmdc:dobj-11-hdty3m42", | ||
"name": "nmdc_wfmgan-11-jv8kx789.1_cog.gff", | ||
"description": "COGs for nmdc:wfmgan-11-jv8kx789.1", | ||
"url": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_cog.gff", | ||
"md5_checksum": "c4d1121c1ceb1229afb7190d23553003", | ||
"file_size_bytes": 712459544, | ||
"data_object_type": "Clusters of Orthologous Groups (COG) Annotation GFF" | ||
}, | ||
{ | ||
"id": "nmdc:dobj-11-0gk70187", | ||
"name": "nmdc_wfmgan-11-jv8kx789.1_ec.tsv", | ||
"description": "EC Annotations for nmdc:wfmgan-11-jv8kx789.1", | ||
"url": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_ec.tsv", | ||
"md5_checksum": "84cf22f39532e1bd001bea8425735a82", | ||
"file_size_bytes": 116429630, | ||
"data_object_type": "Annotation Enzyme Commission" | ||
}, | ||
{ | ||
"id": "nmdc:dobj-11-3mtmhf26", | ||
"name": "nmdc_wfmgan-11-jv8kx789.1_ko.tsv", | ||
"description": "KEGG Orthology for nmdc:wfmgan-11-jv8kx789.1", | ||
"url": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_ko.tsv", | ||
"md5_checksum": "17d699df17c97fc28796a198cf40a328", | ||
"file_size_bytes": 169182276, | ||
"data_object_type": "Annotation KEGG Orthology" | ||
}, | ||
{ | ||
"id": "nmdc:dobj-11-7kfhf682", | ||
"name": "nmdc_wfmgan-11-jv8kx789.1_pfam.gff", | ||
"description": "Pfam Annotation for nmdc:wfmgan-11-jv8kx789.1", | ||
"url": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_pfam.gff", | ||
"md5_checksum": "23c33758dc138e1af0f39fa1f3ca07db", | ||
"file_size_bytes": 602929841, | ||
"data_object_type": "Pfam Annotation GFF" | ||
}, | ||
{ | ||
"id": "nmdc:dobj-11-9hjg8y84", | ||
"name": "nmdc_wfmgan-11-jv8kx789.1_tigrfam.gff", | ||
"description": "TIGRFam for nmdc:wfmgan-11-jv8kx789.1", | ||
"url": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_tigrfam.gff", | ||
"md5_checksum": "bbfded219e0b359602725c9efb4f0c54", | ||
"file_size_bytes": 61788991, | ||
"data_object_type": "TIGRFam Annotation GFF" | ||
}, | ||
{ | ||
"id": "nmdc:dobj-11-2x0wy902", | ||
"name": "nmdc_wfmgan-11-jv8kx789.1_crt.crisprs", | ||
"description": "Crispr Terms for nmdc:wfmgan-11-jv8kx789.1", | ||
"url": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_crt.crisprs", | ||
"md5_checksum": "9d2255a63e39552328c4da20ccf2bb3f", | ||
"file_size_bytes": 142989, | ||
"data_object_type": "Crispr Terms" | ||
}, | ||
{ | ||
"id": "nmdc:dobj-11-r0bx4g71", | ||
"name": "nmdc_wfmgan-11-jv8kx789.1_product_names.tsv", | ||
"description": "Product names for nmdc:wfmgan-11-jv8kx789.1", | ||
"url": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_product_names.tsv", | ||
"md5_checksum": "6f1325b2f8dee9b2a75598fb9645c43d", | ||
"file_size_bytes": 401118634, | ||
"data_object_type": "Product Names" | ||
}, | ||
{ | ||
"id": "nmdc:dobj-11-7mj15p44", | ||
"name": "nmdc_wfmgan-11-jv8kx789.1_gene_phylogeny.tsv", | ||
"description": "Gene Phylogeny for nmdc:wfmgan-11-jv8kx789.1", | ||
"url": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_gene_phylogeny.tsv", | ||
"md5_checksum": "037aee803f1b81ac5ac1bccb9a18527d", | ||
"file_size_bytes": 748420652, | ||
"data_object_type": "Gene Phylogeny tsv" | ||
}, | ||
{ | ||
"id": "nmdc:dobj-11-r2zqpy26", | ||
"name": "nmdc_wfmgan-11-jv8kx789.1_scaffold_lineage.tsv", | ||
"description": "Scaffold Lineage tsv for nmdc:wfmgan-11-jv8kx789.1", | ||
"url": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_scaffold_lineage.tsv", | ||
"md5_checksum": "efdce9771cdda8bd8548e44ef6d1d3a3", | ||
"file_size_bytes": 503898615, | ||
"data_object_type": "Scaffold Lineage tsv" | ||
}, | ||
{ | ||
"id": "nmdc:dobj-11-4k2bt072", | ||
"name": "nmdc_wfmgan-11-jv8kx789.1_contig_names_mapping.tsv", | ||
"description": "Contig mappings file for nmdc:wfmgan-11-jv8kx789.1", | ||
"url": "https://data.microbiomedata.org/data/nmdc:omprc-11-9cdxha98/nmdc:wfmgan-11-jv8kx789.1/nmdc_wfmgan-11-jv8kx789.1_contig_names_mapping.tsv", | ||
"md5_checksum": "1056a6ef48ce9124de0828ee85246e65", | ||
"file_size_bytes": 250129248, | ||
"data_object_type": "Contig Mapping File" | ||
} | ||
], | ||
"activity": { | ||
"name": "Metagenome Assembled Genomes Analysis Activity for {id}", | ||
"type": "nmdc:MagsAnalysisActivity", | ||
"binned_contig_num": "{outputs.final_stats_json.binned_contig_num}", | ||
"input_contig_num": "{outputs.final_stats_json.input_contig_num}", | ||
"low_depth_contig_num": "{outputs.final_stats_json.low_depth_contig_num}", | ||
"mags_list": "{outputs.final_stats_json.mags_list}", | ||
"too_short_contig_num": "{outputs.final_stats_json.too_short_contig_num}", | ||
"unbinned_contig_num": "{outputs.final_stats_json.unbinned_contig_num}" | ||
}, | ||
"outputs": [ | ||
{ | ||
"output": "final_checkm", | ||
"data_object_type": "CheckM Statistics", | ||
"description": "CheckM for {id}", | ||
"name": "CheckM statistics report", | ||
"id": "nmdc:dobj-11-xvjz5h55" | ||
}, | ||
{ | ||
"output": "final_hqmq_bins_zip", | ||
"data_object_type": "Metagenome Bins", | ||
"description": "Metagenome Bins for {id}", | ||
"name": "Metagenome bin tarfiles archive", | ||
"id": "nmdc:dobj-11-85q1v678" | ||
}, | ||
{ | ||
"output": "final_gtdbtk_bac_summary", | ||
"data_object_type": "GTDBTK Bacterial Summary", | ||
"description": "Bacterial Summary for {id}", | ||
"name": "GTDBTK bacterial summary", | ||
"id": "nmdc:dobj-11-j5p58211" | ||
}, | ||
{ | ||
"output": "final_gtdbtk_ar_summary", | ||
"data_object_type": "GTDBTK Archaeal Summary", | ||
"description": "Archaeal Summary for {id}", | ||
"name": "GTDBTK archaeal summary", | ||
"suffix": "_gtdbtk.ar122.summary.tsv", | ||
"id": "nmdc:dobj-11-ec2fqk35" | ||
}, | ||
{ | ||
"output": "mags_version", | ||
"data_object_type": "Metagenome Bins Info File", | ||
"description": "Metagenome Bins Info File for {id}", | ||
"name": "Metagenome Bins Info File", | ||
"id": "nmdc:dobj-11-kg68h909" | ||
} | ||
] | ||
}, | ||
"activity_id": "nmdc:wfmag-11-g7msr323.1", | ||
"last_status": "Failed", | ||
"done": true, | ||
"failed_count": 2, | ||
"start": "2024-09-16T19:33:32.562412+00:00", | ||
"end": "2024-09-16T21:52:12.873101+00:00", | ||
"opid": "nmdc:wfmag-11-g7msr323.1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters