Skip to content
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

Closed
wants to merge 2 commits into from
Closed

Testing humann2.jl #53

wants to merge 2 commits into from

Conversation

annelle-abatoni
Copy link
Collaborator

@annelle-abatoni annelle-abatoni commented Aug 31, 2021

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.

@annelle-abatoni annelle-abatoni changed the title Humann2tests Testing humann2.jl Aug 31, 2021
Copy link
Member

@kescobo kescobo left a 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
Copy link
Member

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.

Copy link
Collaborator Author

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)
Copy link
Member

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

@kescobo
Copy link
Member

kescobo commented Sep 28, 2021

@annelle-abatoni bump - can you wrap this up?

@kescobo kescobo mentioned this pull request Sep 28, 2021
@kescobo
Copy link
Member

kescobo commented Oct 4, 2021

Closing, since we don't want to support humann2 anymore

@kescobo kescobo closed this Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants