Skip to content

Commit

Permalink
test: Adjust for smafa 0.8.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
wwood committed May 29, 2024
1 parent 547e113 commit 5f79901
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 4 deletions.
Binary file not shown.
Binary file modified test/data/22seqs.sdb/otus.sqlite3
Binary file not shown.
Binary file not shown.
Binary file modified test/data/4.11.22seqs.gpkg.spkg.smpkg/22seqs.sdb/otus.sqlite3
Binary file not shown.
2 changes: 1 addition & 1 deletion test/data/4.11.22seqs.gpkg.spkg.smpkg/CONTENTS.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"singlem_metapackage_version": 4, "singlem_packages": ["4.11.22seqs.gpkg.spkg"], "prefilter_db_path": "prefilter.fna.dmnd", "nucleotide_sdb": "22seqs.sdb", "sqlite_db_path_key": "read_taxonomies.sqlite3", "taxon_genome_lengths": null}
{"singlem_metapackage_version": 5, "singlem_packages": ["4.11.22seqs.gpkg.spkg"], "prefilter_db_path": "prefilter.fna.dmnd", "nucleotide_sdb": "22seqs.sdb", "sqlite_db_path_key": "read_taxonomies.sqlite3", "taxon_genome_lengths": null, "taxonomy_database_name": "custom_taxonomy_database", "taxonomy_database_version": null, "diamond_prefilter_performance_parameters": "--block-size 0.5 --target-indexed -c1", "diamond_taxonomy_assignment_performance_parameters": "--block-size 0.5 --target-indexed -c1", "makeidx_sensitivity_params": null}
Binary file modified test/data/4.11.22seqs.gpkg.spkg.smpkg/prefilter.fna.dmnd
Binary file not shown.
Binary file modified test/data/4.11.22seqs.gpkg.spkg.smpkg/read_taxonomies.sqlite3
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions test/test_pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -1112,7 +1112,7 @@ def test_smafa_naive_then_diamond_assignment_paired(self):
os.path.join(path_to_data, '4.11.22seqs.gpkg.spkg_inseqs.fna'),
os.path.join(path_to_data, '4.11.22seqs.gpkg.spkg_inseqs2.fna'),
os.path.join(path_to_data, '4.11.22seqs.gpkg.spkg'),
os.path.join(path_to_data, '4.11.22seqs.paired.manual.json.v5.sdb'),
os.path.join(path_to_data, '4.11.22seqs.paired.manual.json.v5.smafa_naive.sdb'),
)
self.assertEqualOtuTable(
list([line.split("\t") for line in expected]),
Expand All @@ -1126,7 +1126,7 @@ def test_smafa_naive_then_diamond_assignment_paired_only_read2_hits(self):
os.path.join(path_to_data, 'random.fna'), # i.e. no hits
os.path.join(path_to_data, '4.11.22seqs.gpkg.spkg_inseqs2.fna'),
os.path.join(path_to_data, '4.11.22seqs.gpkg.spkg'),
os.path.join(path_to_data, '4.11.22seqs.paired.manual.json.v5.sdb'),
os.path.join(path_to_data, '4.11.22seqs.paired.manual.json.v5.smafa_naive.sdb'),
)
self.assertEqualOtuTable(
list([line.split("\t") for line in expected]),
Expand All @@ -1140,7 +1140,7 @@ def test_smafa_naive_then_diamond_assignment_paired_only_read1_hits(self):
os.path.join(path_to_data, '4.11.22seqs.gpkg.spkg_inseqs2.fna'),
os.path.join(path_to_data, 'random.fna'), # i.e. no hits
os.path.join(path_to_data, '4.11.22seqs.gpkg.spkg'),
os.path.join(path_to_data, '4.11.22seqs.paired.manual.json.v5.sdb'),
os.path.join(path_to_data, '4.11.22seqs.paired.manual.json.v5.smafa_naive.sdb'),
)
self.assertEqualOtuTable(
list([line.split("\t") for line in expected]),
Expand Down

0 comments on commit 5f79901

Please sign in to comment.