-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing humann2.jl #53
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably scrap humann2_barplot for now. It's failing because it calls out to humann2
, which doesn't exist on the testing machines
@@ -8,6 +8,15 @@ using SparseArrays | |||
using DelimitedFiles | |||
using CSV | |||
|
|||
@testset "Humann2" begin | |||
df = CSV.read("files/humanntestfile.tsv", DataFrame, delim='\t', header=["#GeneFamily", "SRS014459-Stool_Abundance"], datarow = 2) | |||
metadata = CSV.File("files/metadata_test_humann.csv") |> Tables.Array |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There aren't actually any tests here... should at least test the type and shape of the object created.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I keep running into this error when I run humann2_regroup
and humann2_rename
ERROR: IOError: could not spawn
humann2_rename_table -i /var/folders/jm/_25dbvt53_793g7w_1975c5c0000gn/T/jl_ahMrMf -n ec -o /var/folders/jm/_25dbvt53_793g7w_1975c5c0000gn/T/jl_afnvCf
: no such file or directory (ENOENT)
Do you know how I can resolve this?
@@ -8,6 +8,15 @@ using SparseArrays | |||
using DelimitedFiles | |||
using CSV | |||
|
|||
@testset "Humann2" begin | |||
df = CSV.read("files/humanntestfile.tsv", DataFrame, delim='\t', header=["#GeneFamily", "SRS014459-Stool_Abundance"], datarow = 2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably have a function like metaphlan_table<s>
but for humann
instead of this at some point, but deal with that later #23
@annelle-abatoni bump - can you wrap this up? |
Closing, since we don't want to support |
I left the tests unanswered because I keep getting errors using these test files - I'm not sure why. I also don't fully understand
humann2_barplots
's functionality.