Mercurial > repos > onnodg > add_taxonomic_labels
diff tests/test_add_taxonomic_labels.py @ 2:f4b8ab4ed24e draft
planemo upload for repository https://github.com/Onnodg/Naturalis_NLOOR/tree/main/NLOOR_scripts/add_header_tool commit 4017d38cf327c48a6252e488ba792527dae97a70-dirty
| author | onnodg |
|---|---|
| date | Mon, 15 Dec 2025 16:49:00 +0000 |
| parents | abd214795fa5 |
| children |
line wrap: on
line diff
--- a/tests/test_add_taxonomic_labels.py Mon Oct 20 12:25:29 2025 +0000 +++ b/tests/test_add_taxonomic_labels.py Mon Dec 15 16:49:00 2025 +0000 @@ -66,11 +66,11 @@ # Check first data line first_data_line = lines[1].strip() - assert 'M01687:476:000000000-LL5F5:1:1101:20413:7447_PairEnd(1) source=NCBI sequenceID=HM590330 superkingdom=Eukaryota kingdom=Viridiplantae phylum=Streptophyta subphylum=Streptophytina class=Magnoliopsida subclass=NA infraclass=NA order=Malpighiales suborder=NA infraorder=NA superfamily=NA family=Salicaceae genus=Populus species=Populus tremula markercode=trnL lat=50.47 lon=-104.37 source=NCBI N/A 100.000 91 8.47e-10 54.7 NCBI Viridiplantae / Streptophyta / Magnoliopsida / Malpighiales / Salicaceae / Populus / Populus tremula' in first_data_line + assert 'M01687:476:000000000-LL5F5:1:1101:20413:7447_PairEnd(1)\tmarkercode=trnL lat=50.47 lon=-104.37\tHM590330\tN/A\t100.000\t91\t8.47e-10\t54.7\tNCBI\tViridiplantae / Streptophyta / Magnoliopsida / Malpighiales / Salicaceae / Populus / Populus tremula' in first_data_line # Check second data line second_data_line = lines[2].strip() - assert 'M01687:476:000000000-LL5F5:1:2115:26447:7735_CONS(16) source=NCBI sequenceID=KC539736 superkingdom=Eukaryota kingdom=Viridiplantae phylum=Streptophyta subphylum=Streptophytina class=Magnoliopsida subclass=NA infraclass=NA order=Rosales suborder=NA infraorder=NA superfamily=NA family=Ulmaceae genus=Ulmus species=Ulmus laevis markercode=trnL lat=NA lon=NA source=NCBI N/A 100.000 89 1.44e-38 152 NCBI Viridiplantae / Streptophyta / Magnoliopsida / Rosales / Ulmaceae / Ulmus / Ulmus laevis' in second_data_line + assert 'M01687:476:000000000-LL5F5:1:2115:26447:7735_CONS(16)\tmarkercode=trnL lat=NA lon=NA\tKC539736\tN/A\t100.000\t89\t1.44e-38\t152\tNCBI\tViridiplantae / Streptophyta / Magnoliopsida / Rosales / Ulmaceae / Ulmus / Ulmus laevis' in second_data_line def test_single_taxon_level(self, temp_files): """Test processing with only one taxonomic level."""
