maximilianh / cellBrowser

main repo: https://github.com/ucscGenomeBrowser/cellBrowser/ - Python pipeline and Javascript scatter plot library for single-cell datasets, http://cellbrowser.rtfd.org
https://github.com/ucscGenomeBrowser/cellBrowser/
GNU General Public License v3.0
104 stars 41 forks source link

mtx nomenclature in conf file #243

Closed PriyankaOyx closed 2 years ago

PriyankaOyx commented 2 years ago

Hi, Thanks for your previous input regarding enabling multiple clusterFields in the browser. I am now working with ~162K GBM 10x single-cell dataset. Upon running the cbImportSeurat script for the same, it generates the count and data matrix files in 10x input format (expr.mtx, barcodes.tsv and features.tsv). Now I was able to redirect the config file to the correct path and file extensions (mtx instead of tsv) but because both my count and data files are in the 10x format it's not able to distinguish among them and threw just the file not found error. (It's because it is searching for barcodes.tsv instead of counts_barcodes.tsv or data_barcodes.tsv).

Should I also add the barcode and feature matrices to my config file? Currently, it looks like this: exprMatrix="data_matrix.mtx.gz" matrices=[ {'label':'counts','fileName':'counts_matrix.mtx.gz'}, {'label':'data','fileName':'data_matrix.mtx.gz'}, {'label':'scale','fileName':'scale_exprMatrix.tsv.gz'}]

I am sure there's a better way to do this and I may just be complicating things. Please let me know an alternative.

Thanks

maximilianh commented 2 years ago

Hi Priyanka, Do you know how to git clone and use the development version ? I think I’ve fixed this entire issue yesterday. It should now export the right files, and also pick up the right file names.

If you don’t know how to checkout out the development version, then I can prepare a pip prerelease for you.

On Mon 25 Apr 2022 at 22:10, PriyankaOyx @.***> wrote:

Hi, Thanks for your previous input regarding enabling multiple clusterFields in the browser. I am now working with ~162K GBM 10x single-cell dataset. Upon running the cbImportSeurat script for the same, it generates the count and data matrix files in 10x input format (expr.mtx, barcodes.tsv and features.tsv). Now I was able to redirect the config file to the correct path and file extensions (mtx instead of tsv) but because both my count and data files are in the 10x format it's not able to distinguish among them and threw just the file not found error. (It's because it is searching for barcodes.tsv instead of counts_barcodes.tsv or data_barcodes.tsv).

Should I also add the barcode and feature matrices to my config file? Currently, it looks like this: exprMatrix="data_matrix.mtx.gz" matrices=[ {'label':'counts','fileName':'counts_matrix.mtx.gz'}, {'label':'data','fileName':'data_matrix.mtx.gz'}, {'label':'scale','fileName':'scale_exprMatrix.tsv.gz'}]

I am sure there's a better way to do this and I may just be complicating things. Please let me know an alternative.

Thanks

— Reply to this email directly, view it on GitHub https://github.com/maximilianh/cellBrowser/issues/243, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACL4TLED6RTBTJHPUMKX63VG53DVANCNFSM5UKS6FEA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

PriyankaOyx commented 2 years ago

Hey @maximilianh,

Thanks, I was testing this recently and haven't updated my development version yet. Thanks, I will clone the development repository and close the issue.