-
Notifications
You must be signed in to change notification settings - Fork 41
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
Handle whitespace in TSVTaxonomyFormat -> Metadata transformer #179
Comments
This happened already twice to me. I continued analysis by modifying the taxonomy.qza, which is absolutely not ideal. This bug prohibits reproducible and fluid analysis in my case. |
I am pretty sure that this issue is related to the occurence of # in the SILVA 132 taxonomy files. For example 74 times Is this issue duplicated in #174 ? |
Hey there @d4straub!
Sorry to hear that, PRs are welcome!
Sure, but that is probably a more specific case --- the problem is that the
Not quite --- #174 has to do with the taxonomy IDs, specifically, and how they are consumed in various downstream steps (not necessarily anything to do with This issue is referring to the taxonomy values themselves. Both issues can probably be fixed at the same time by amending a few transformers: It might also be possible to fix in the framework, since this is a general problem with the If this is something you are interested in addressing we would love that, and would be happy to provide some guidance, if necessary. Thanks! |
Hello! So after i got this error I googled and found this possible solution: https://forum.qiime2.org/t/qiime-taxa-filter-table-error/3947/5 I dont fully understand this export function, do you need to create a folder to which the content in the taxonomy.qza is exported to? Anyways, when I try to run it I get this error message: Error: no such option: --output-dir I thought if I created a folder called taxonomy-with-spaces it would be solved but I guess I simply dont understand this export function. I tried qiime tools export --help and saw the option presented there is --output-path instead of --output-dir but I just get the same error. Could you help me out please? Best regards! |
Hi @DevsLilSis --- can you please post this question to the QIIME 2 Forum? You can open a new post there and provide links to the other (closed) posts you found. Thanks! |
It does seem like we should probably bump up the priority on this issue. I'll add it to the project backlog for now. It seems simple™. |
Fixed in #219 |
The relevant transformer: https://github.com/qiime2/q2-types/blob/master/q2_types/feature_data/_transformer.py#L192-L194
TSVTaxonomyFormat might include leading or trailing whitespace characters. The Metadata constructor doesn't strip whitespace, so this can lead to the following:
This recently came up on the forum: https://forum.qiime2.org/t/qiime-taxa-filter-table-error/3947
The text was updated successfully, but these errors were encountered: