Skip to content

Commit

Permalink
uhgg processing bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
bsiranosian committed Jun 29, 2021
1 parent 9b3570b commit 300ac80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/post_classification_workflow.R
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ test.df <- kraken_file_to_df(flist[1])
uhgg <- all(paste0('R', 1:7) %in% test.df$tax.level)
# MAG database will have this
# like number of genus classifications is zero or something
segata <- sum(sum(test.df$tax.level=='G')) == 0
segata <- !uhgg & sum(sum(test.df$tax.level=='G')) == 0

# load classification results from each sample and process into gct format
message(paste('Loading data from ', length(flist), ' kraken/bracken results.', sep=''))
Expand Down

0 comments on commit 300ac80

Please sign in to comment.