cozygene / FEAST

Fast expectation maximization for microbial source tracking
Other
115 stars 60 forks source link

otu table error? #31

Closed kruehling closed 2 years ago

kruehling commented 2 years ago

Hi,

I keep getting this error while trying to run FEAST:

Error in if (sum(as.integer(C) != as.numeric(C)) > 0) { : missing value where TRUE/FALSE needed

I can't find any arguments that require a T/F, but I'm guessing this has to do with my otu table? Has anyone else run into this error message and how did you trouble shoot it?

Thanks, kelsey

The FT file is my feature table - generated in QIIME2 and the map file is my metadata FT.tsv.zip TC_LR_map_FEAST_NA.txt

liashenhav commented 2 years ago

Dear kelsey,

It seems that the sample ids of your sources (according to your metadata) do not appear in your OTU table. For example, sample id 'S17' (the first source in your metadata file, associated with Env 'LL1') does not appear in your OTU table.

I hope this helps! Best, Liat

kruehling commented 2 years ago

Hi Liat, I've run into another problem with a different dataset. This time I get this error: Error in sprintf("Error: there are %d sample ids in common ") : too few arguments Calls: FEAST -> paste -> sprintf

I've made sure the sample ids are exactly the same- so I cant figure out what this is referring to.. I've attached the metadata and feature table files. Thanks for your help ! -kelsey

LR_FEAST_175samp.txt table.from_biom.txt.zip