Skip to content
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

LMD to FCS #3

Open
yoavram opened this issue Sep 5, 2015 · 6 comments
Open

LMD to FCS #3

yoavram opened this issue Sep 5, 2015 · 6 comments

Comments

@yoavram
Copy link
Contributor

yoavram commented Sep 5, 2015

It would be cool to open LMD files (generated for example by Gallios machines).
Its possible to do it in R, so one could in principle reimplement in python or just use the R implementation and call it from python via Rpy2.

Here's an R script that does it:
https://gist.github.com/yoavram/198493cebbf0b323a9d8

@eyurtsev
Copy link
Owner

eyurtsev commented Sep 5, 2015

My knowledge of R is basically 0, but from the code it looks like it's only necessary to rename the file extension? (i.e., is the lmd format different from the fcs format?)

@yoavram
Copy link
Contributor Author

yoavram commented Sep 5, 2015

Wait, from which code? The gist I sent?

@eyurtsev
Copy link
Owner

eyurtsev commented Sep 5, 2015

Yes, (I did say that my knowledge is basically 0!) ;)

@yoavram
Copy link
Contributor Author

yoavram commented Sep 5, 2015

Oh I see. This R function read.FCS knows how to read LMD. Then write.FCS writes a standard FCS. From what I understand LMD (list mode data) is a wrapper around FCS.
See: https://github.com/RGLab/flowCore/blob/3f63a2e0ba8ebcccd9340ddbfda5d1807806c037/man/read.FCS.Rd
https://github.com/RGLab/flowCore/blob/trunk/R/IO.R

@jxramos
Copy link

jxramos commented Jun 20, 2019

What's special about the Gallios machine? Do the lmd files follow the flow cytometry standard format? You can read about that format from the wikipedia page.
https://en.wikipedia.org/wiki/Flow_Cytometry_Standard

Can you please upload an example lmd file to this issue?

Digging around a bit it seems that there's is some FCS intersection...

Beckman-Coulter Gallios produces LMD files that contain an FCS 3.0 compliant portion. They display the data as collected, if “True View” is used. If standard view is used, linear parameters are scaled 1-1024 and log parameters to four decades with a range of 1-1024. This is a display similar to FCS 2.0 data. Preferences in FlowJo control the scaling of the exported FCS 3.0 file. Data can be scaled identical to their acquisition display in true view OR standard view.
http://docs.flowjo.com/vx/workspaces-and-samples/flowjo-and-your-cytometer/ws-cytometer-beckman/cxp/

@SreejaMukherjee
Copy link

Hello! I have some lmd files generated from a BC Navios machine. Can I use R to change it to a fcs file and further use it through flowjo for post acquisition and formatting some of the gates? If yes, which version of R studio is compatible with the flowcore package?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants