Closed ShailNair closed 3 years ago
Hi!
sqm2tables.py <PROJECT> <PROJECT>/results/tables
. Then copy the project directory to the second computer (you can indeed skip the temp, data, and raw_fastq directories as they are not used by SQMtools) and you should be good to go!Thanks, for the prompt reply. That's, the point I missed regarding first running sqm2tables.py. Yes, for Installing SQMtools itself doesn't require administrative privileges, but the dependency package Pathview requires XML package to be installed which prerequisites some Linux files (libtool-ltdl) which require root/sudo access to install (somehow our lab server do not have this files. i will talk with the server manager and next time can directly use sqmtools on the server).
Thanks:thumbsup::thumbsup::thumbsup:
Alternatively, if you install SqueezeMeta via conda SQMtools should be ready to go, all libraries included. If it isn't, then let me know!
Thanks. Now, it is working. A few query though: 1) Is there an option to make .biom file (with taxa, abundance and sample info )from the results? 2) Is there any way, that I can change the width of the bar plots in plot taxonomy, ploTbARS function. The manual have following arguments: plotBars( data, label_x = "Samples", label_y = "Abundances", label_fill = "Features", color = NULL, base_size = 11, max_scale_value = NULL ) But no width and gap adjustment. As it is a ggplot2 function, I used "width=N". but it doesn't work here.
I have tested two samples, so the plot looks weird.
That's awesome, looking forward to the next update. Thanks. RAegarding biom file..It is not that necessary. ..some R visualization packages start with biom file. But I can make it if necessary ,as sqeezemeta have already provided with nice taxa tables.
Hi, I have finished the squeezemeta pipeline with binning on my lab server. Next, to analyze in SQMtools, I compressed the sqmtools directory from "install path/SqueezeMeta/lib/SQMtools" and installed it In Rstudio on my personal PC with all the dependencies (as on the server I do not have sudo rights). Next, I copied the whole squeezemeta created project (named as original_bottle) except the temp, data, and raw fastq files directory to the desired location on my personal PC (i.e. /home/ahail/Documents/squeezemeta_analysis/original_bottle),
When I run (in Rstudio), Hadza = loadSQM('/home/ahail/Documents/squeezemeta_analysis/original_bottle')
I get the following error:
Error in loadSQM("/home/ahail/Documents/squeezemeta_analysis/original_bottle") : An error occurred while running sqm2tables.py 2.stop("An error occurred while running sqm2tables.py") 1.loadSQM("/home/ahail/Documents/squeezemeta_analysis/original_bottle")
I did not find the sqm2tables.py in sqmtools R package (to debug the problem).
Here, is the list of all files in my squeezementa project (original_bottle) copied to my personal PC original_bottle.txt