From 8f9831bfa058598bf24c4fa0855a89abdd6ee06d Mon Sep 17 00:00:00 2001 From: Michael Thornton Date: Thu, 7 Dec 2023 13:56:13 -0800 Subject: [PATCH] add more missing test fixtures --- tests/fixtures/jobs.json | 1 + tests/fixtures/mags_activity_set.json | 28 +++++++++++ .../metagenome_annotation_activity_set.json | 40 +++++++++++++++ tests/fixtures/metagenome_assembly_set.json | 50 +++++++++++++++++++ 4 files changed, 119 insertions(+) create mode 100644 tests/fixtures/jobs.json create mode 100644 tests/fixtures/mags_activity_set.json create mode 100644 tests/fixtures/metagenome_annotation_activity_set.json create mode 100644 tests/fixtures/metagenome_assembly_set.json diff --git a/tests/fixtures/jobs.json b/tests/fixtures/jobs.json new file mode 100644 index 00000000..fe51488c --- /dev/null +++ b/tests/fixtures/jobs.json @@ -0,0 +1 @@ +[] diff --git a/tests/fixtures/mags_activity_set.json b/tests/fixtures/mags_activity_set.json new file mode 100644 index 00000000..3206a520 --- /dev/null +++ b/tests/fixtures/mags_activity_set.json @@ -0,0 +1,28 @@ +[ + { + "has_input": [ + "nmdc:37573bca240f88091720ae61ae5c9452", + "nmdc:da186671c5a581af0a7d195bd857c871", + "nmdc:4d41794368ed796500bb6d2c82a6787a" + ], + "part_of": [ + "nmdc:mga0vx38" + ], + "git_url": "https://github.com/microbiomedata/mg_annotation/releases/tag/0.1", + "has_output": [ + "nmdc:d41d8cd98f00b204e9800998ecf8427e", + "nmdc:38f5521b558377503f6e9a635998dd37", + "nmdc:cf96331e23aa34224990105374272877", + "nmdc:4d12e1cab7ee7e72ea48151dfc0354c6", + "nmdc:52309bf9398a5b0c401e1e23f5e414df", + "nmdc:77b1712067645b362aee53aad59000e2" + ], + "was_informed_by": "nmdc:omprc-11-nhy4pz43", + "id": "nmdc:fdefb3fa15098906cf788f5cadf17bb3", + "execution_resource": "NERSC-Cori", + "name": "MAGs Analysis Activity for nmdc:mga0vx38", + "started_at_time": "2021-08-05T14:48:51+00:00", + "type": "nmdc:MAGsAnalysisActivity", + "ended_at_time": "2021-09-15T10:13:20+00:00" + } +] diff --git a/tests/fixtures/metagenome_annotation_activity_set.json b/tests/fixtures/metagenome_annotation_activity_set.json new file mode 100644 index 00000000..44155700 --- /dev/null +++ b/tests/fixtures/metagenome_annotation_activity_set.json @@ -0,0 +1,40 @@ +[ + { + "has_input": [ + "nmdc:37573bca240f88091720ae61ae5c9452" + ], + "part_of": [ + "nmdc:mga0vx38" + ], + "git_url": "https://github.com/microbiomedata/mg_annotation/releases/tag/0.1", + "has_output": [ + "nmdc:7336ecf1f0b47e6161b52aec01d56ab8", + "nmdc:62b6efaf7d8a21c60dd6604b04ab4c14", + "nmdc:4d41794368ed796500bb6d2c82a6787a", + "nmdc:a8e41f5700ab72a4f61f3d1dd45285c8", + "nmdc:551a7f35ff12bcd874c84b38c2adbceb", + "nmdc:45743fa49c9e798771285daafa4282a8", + "nmdc:7059a9060fa1c387109bd687f5185789", + "nmdc:ca06b1f1d9661a8bc574be6d9e88ea61", + "nmdc:6aa2609c12ebfd17d481772725a4ea10", + "nmdc:794ad11fd53f99ab3801227614b4ec3b", + "nmdc:de7b26c212d063e5e0d2b47378252d4b", + "nmdc:a225e5bf4d6a504b9823636ac9e38224", + "nmdc:c2826e164cceee905d5d2878c4c87dfb", + "nmdc:225c2a620cc15cfd371f9aa6e0c5208c", + "nmdc:36c458d8648ece4e8c3af9b13319b9b8", + "nmdc:af9892ee8372ba97bff93424079221d8", + "nmdc:02f081900336db5b9553328c93c40d21", + "nmdc:5b7a1c3890012eab0fb111979dd6ca3f", + "nmdc:205d1c4d44756cdadc7f2263375cd5cc", + "nmdc:3c18be56eef0b4cdbc514764cb724f06" + ], + "was_informed_by": "nmdc:omprc-11-nhy4pz43", + "id": "nmdc:fdefb3fa15098906cf788f5cadf17bb3", + "execution_resource": "NERSC-Cori", + "name": "Annotation Activity for nmdc:mga0vx38", + "started_at_time": "2021-08-05T14:48:51+00:00", + "type": "nmdc:MetagenomeAnnotationActivity", + "ended_at_time": "2021-09-15T10:13:20+00:00" + } +] diff --git a/tests/fixtures/metagenome_assembly_set.json b/tests/fixtures/metagenome_assembly_set.json new file mode 100644 index 00000000..30e19d53 --- /dev/null +++ b/tests/fixtures/metagenome_assembly_set.json @@ -0,0 +1,50 @@ +[ + { + "has_input": [ + "nmdc:f107af0a000ec0b90e157fc09473c337" + ], + "part_of": [ + "nmdc:mga0vx38" + ], + "scaf_N50": 302542, + "ctg_logsum": 5909271, + "ctg_N90": 1315235, + "gc_avg": 0.60257, + "scaf_N90": 1312362, + "scaf_logsum": 5934400, + "scaf_pct_gt50K": 1.7355337, + "gap_pct": 0.00334, + "git_url": "https://github.com/microbiomedata/mg_annotation/releases/tag/0.1", + "has_output": [ + "nmdc:37573bca240f88091720ae61ae5c9452", + "nmdc:220c85a9e2d470157aed7a7556f85656", + "nmdc:c3298d022868e8b0e7cfb783015b93ed", + "nmdc:3fc528f0105fc163876d68df26d35b29", + "nmdc:da186671c5a581af0a7d195bd857c871" + ], + "asm_score": 11.297, + "was_informed_by": "nmdc:omprc-11-nhy4pz43", + "ctg_powsum": 727370, + "scaf_max": 517431, + "id": "nmdc:fdefb3fa15098906cf788f5cadf17bb3", + "scaf_powsum": 730816, + "execution_resource": "NERSC-Cori", + "contigs": 1705758, + "scaf_n_gt50K": 216, + "ctg_N50": 304732, + "name": "Assembly Activity for nmdc:mga0vx38", + "ctg_max": 517431, + "gc_std": 0.06928, + "contig_bp": 1168572354, + "ctg_L50": 785, + "scaf_l_gt50K": 20281644, + "scaf_L90": 322, + "started_at_time": "2021-08-05T14:48:51+00:00", + "ctg_L90": 322, + "scaf_bp": 1168611354, + "type": "nmdc:MetagenomeAssembly", + "scaf_L50": 789, + "scaffolds": 1702137, + "ended_at_time": "2021-09-15T10:13:20+00:00" + } +]