djvdj icon indicating copy to clipboard operation
djvdj copied to clipboard

wrapper for export to ucsc cell browser

Open raysinensis opened this issue 4 years ago • 3 comments

Would this be of some interest?

raysinensis avatar Sep 11 '20 03:09 raysinensis

@raysinensis having a wrapper that creates a cellbrowser that includes VDJ data would definitely be useful. I know @kriemo has written some code to do this, but not sure if it's structured as a single function.

A separate but related thing I was thinking about is that it might also be useful to write an AWS wrapper in bash that automates the process for setting up the password protected buckets we use for the browsers

sheridar avatar Sep 11 '20 18:09 sheridar

It's not a single function yet, but it wouldn't be hard to port the code from some of my projects.

I have code that generates another assay in the seurat object to store the clonotype data as a binary matrix (e.g): https://github.com/rnabioco/Rincon_scVDJseq/blob/7e5742dfc4f168dcc909b91e3f9355ae9f397c3c/results/qc.Rmd#L864

The wrapper that I use for generating cellbrowsers is in the scbp package, which allows you to add additional assays to the cellbrowser (via concatenating the matrices).

Here's an example: https://github.com/rnabioco/Rincon_scVDJseq/blob/7e5742dfc4f168dcc909b91e3f9355ae9f397c3c/results/cb.Rmd#L97

kriemo avatar Sep 11 '20 18:09 kriemo

@kriemo this seems like a nice way to store additional vdj data in the object. Maybe we should just incorporate your version of the import function

sheridar avatar Sep 11 '20 19:09 sheridar