Skip to content

Commit

Permalink
To v 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeiferd committed Sep 11, 2024
1 parent 9e676d1 commit 282a60a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import org.junit.Test;
import org.metagene.genestrip.APITest;
import org.metagene.genestrip.GSCommon;
import org.metagene.genestrip.GSConfigKey;
import org.metagene.genestrip.GSGoalKey;
import org.metagene.genestrip.GSMaker;
import org.metagene.genestrip.GSProject;
Expand All @@ -54,6 +55,8 @@ public void testDB2FastqGoal() throws IOException {
// release).
GSProject project = new GSProject(config, "human_virus", null, null, null, null, null, false, "64320,12637+",
null, null, null, false);
project.initConfigParam(GSConfigKey.WRITED_KRAKEN_STYLE_OUT, true);

GSMaker maker = new GSMaker(project);

String[] taxids = new String[] { "64320", "12637", "11053", "11060", "11069", "11070" };
Expand All @@ -71,7 +74,7 @@ public void testDB2FastqGoal() throws IOException {

for (int i = 0; i < taxids.length; i++) {
File file = goal.getOutputFile(taxids[i]);
MatchingResult result = maker.match(false, "", file.toString());
MatchingResult result = maker.match(false, taxids[i], file.toString());
Map<String, CountsPerTaxid> map = result.getTaxid2Stats();
assertEquals(kmers[i], map.get(taxids[i]).getKMers());
assertEquals(kmers[i], map.get(taxids[i]).getUniqueKMers());
Expand Down

0 comments on commit 282a60a

Please # to comment.