-
Notifications
You must be signed in to change notification settings - Fork 8
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
BIOM v2.1 from Qiime2 #20
Comments
Hi, thanks for filing the issue. What type of file is
If you want to omit meta data information, just set However, the error message is currently very uninformative, I will improve that for the next version. Also, if I see there is demand, I will prioritize solving the linked issue above to make this work out of the box. |
Hi, The biom file does not contain metadata; 'biom eport-metadata' reports that there are no sample metadata and no obervation metadata in the bom file. Qiime2 is not perfectly transparent at these steps, what is included in the biom data and what is not included. But I will inspect it further, if there is a possibility to add the metadata to the biom output. |
I just want to add that a network could be generated from the biom data when omitting meta data. Which app do you recommend for graph visualization in Cytoscape? |
Sorry for the delay, I'm currently traveling. I see, the way you are using the software should definitely work. I tracked down the problem, it boiled down to FlashWeave trying to combine sparse data from your .biom file with non-sparsifiable data from your meta data table. I made a patch, your use case should now work on master. You can get the latest changes via Regarding your second question, I typically just use Cytoscape without special plugins. From my experience the default capabilities are flexible enough, typical things I do include coloring nodes / edges using outside information, emphasising node centralities or edge strengths via size and thickness or laying out the network in various ways (depending on your question). |
Hi! Thank you for the patch, it worked out without any error. I was able to export a raw PNG graph, and I am currently trying to find out, how to coorectly import the edgelist or gml networl into Cytoscape . Do you recomend one over the other? If there is any toturial out there, I would really appreciate. |
Sorry, closed it by mistake... |
I learned most of it by playing with the software and occasional googling, so unfortunately can't suggest a good tutorial off the top of my head, but I would be surprised if there aren't decent ones around. Alternatively you can also go the less interactive route via various python/R packages like networkx, graphviz and igraph, whatever feels most intuitive to you. |
Yes, I will do the same, there are a few tutorials, and Cytoscape itself comes with sample data (including gml, but not edgelist). The FW .gml dows load (over 3000 nodes and edges in a node table and edge table) and I will habe to dig into the style option to format the metadata information (is this exported to the gml file?). I also tried to work with tsv/csv tables as described in the FW help: Thank you for your help and for FlashWeave! |
Sorry for the confusion about .tsv/.csv vs edgelist, the help string for FlashWeave If you want to load .edgelist files in Cytoscape, you can go |
Thank you for the hint on the advanced options for edgelist data. The network ist displayed now. |
The meta data related information at the end of the Node table refers to one-hot encoded meta variables. To improve statistical power and interpretability, FlashWeave splits variables with more than two categories, like your
I typically keep all meta variables initially and then explore the network to decide on useful visualizations. If meta variables turn out not to be interesting for visualization, one can always make them invisible (the
I'm not sure what you mean by this. FlashWeave generally tries to keep variable ordering (both OTU and meta data) aligned with the input. However, numerical indices may change if for instance variables are removed during the filtering and normalization process or if one-hot encoding takes place. In any case, the variable names you see depicted in the |
Gonna close this for know, feel free to make new issues if you run into other FlashWeave-related errors. |
Hi, I assume that my last post has not been saved. Sorry that I have to come back again. Thanks! |
Yes, sorry, I forgot to mention that the |
ok, it explaines eveything. |
Yes, it just stacked all network nodes on top to each other instead of computing the default network layout. Not sure why that is, perhaps it couldn't automatically infer which column corresponds to edge weights due to the additional |
Hi,
I am trying to analyse microbiome data by using biom data generated by the most recent Qiime2 pipeline (qiime2-2020.8) but I get an error which I could not resolve so far.
julia> netw_results = learn_network(data_path, meta_data_path, sensitive=true, heterogeneous=false)
Loading data
ERROR: MethodError: no method matching zero(::SubString{String})
Closest candidates are:
zero(::Type{Missing}) at missing.jl:103
zero(::Type{Dates.Time}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Dates\src\types.jl:406
zero(::Type{Dates.DateTime}) at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Dates\src\types.jl:404
...
Does anybody have an idea what this could mean.
I have attached the biom file created by Qiime2. (original name filtered_table.qza, but renamed to allow upload)
filtered_table_gza.zip
The text was updated successfully, but these errors were encountered: