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

CyVerse test using analyze-neon-greatplains-16s.R #45

Open
KaiZhuPhD opened this issue Apr 21, 2021 · 3 comments
Open

CyVerse test using analyze-neon-greatplains-16s.R #45

KaiZhuPhD opened this issue Apr 21, 2021 · 3 comments

Comments

@KaiZhuPhD
Copy link
Collaborator

In testing analyze-neon-greatplains-16s.R on CyVerse, the following chunk:

filter_trackReads <- qualityFilter16S(
  fl_nm, in_subdir = "1_trimmed", out_subdir = "2_filtered",
  meta = meta, truncLen = 220, maxEE = 8, multithread = TRUE
)

The error message is

Using user-provided truncLen: 220
Error in names(answer) <- names1 : 
  'names' attribute [86] must be the same length as the vector [75]
In addition: Warning messages:
1: In mclapply(seq_len(n), do_one, mc.preschedule = mc.preschedule,  :
  scheduled cores 2, 11 did not deliver results, all values of the jobs will be affected
2: In mclapply(seq_len(n), do_one, mc.preschedule = mc.preschedule,  :
  scheduled cores 6, 10, 13, 14, 7, 9, 15 encountered errors in user code, all values of the jobs will be affected
@claraqin
Copy link
Owner

Hi Kai,

This error happens when the multithreading in the dada2 function filterAndTrim demands too much memory. (See this issue thread in dada2: benjjneb/dada2#273 .) To get around this, you can either request more memory on CyVerse, reduce the number of threads by setting multithread to a specific number, or set multithread = FALSE, which disables multithreading. Let me know if any of these works for you.

Clara

@KaiZhuPhD
Copy link
Collaborator Author

line 110, can't find the otu_table object; also, phyloseq() function should reference phyloseq::phyloseq() package.

@KaiZhuPhD
Copy link
Collaborator Author

Testing was done successfully. Remaining issues:

  • line 128 and below, tidyverse functions--either load tidyverse (but will create conflicts with other packages) or each time use tidyr:: to call functions.
  • Create plots subfolder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants