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

WSP files not opening properly - Can't find associated FCS files #115

Closed
Sithara85 opened this issue Sep 1, 2020 · 3 comments
Closed

WSP files not opening properly - Can't find associated FCS files #115

Sithara85 opened this issue Sep 1, 2020 · 3 comments

Comments

@Sithara85
Copy link

Sithara85 commented Sep 1, 2020

Hi,

As you know we have been working on ~10,000 samples FCS files and generated gating set and workspace files. Now we were trying to open the wsp files in FlowJO and it is not opening properly. It shows a red 'X' on the filename in FlowJo and can't find associated fcs so we can't inspect the populations gated.

Do you have any idea what's going on?

I have used below code to create the gating set and then ran docker/ singularity to create wsp files. As you notice I have used gsub to remove the white spaces in wsp files as save_gs was throwing error. But we tried to change the names with fcs name but it is not opening properly.

template = gs_add_gating_method(
  gs_EM3,
  alias = "CD28Gate",
  pop = "+/-",
  parent = "root",
  dims = "CD28",
  gating_method = "mindensity",
  gating_args = "gate_range = c(1000,15000)")
print(gs_pop_get_count_fast(gs_EM3))
fcs_file <- basename(f)

outputRoot = paste0(opt$outputDir, fcs_file)
addedWSP = paste0(outputRoot,"_CT_EM3")
addedWSP = gsub(" ", "_", addedWSP)
print(paste0("adding and renaming nodes and writing to ", addedWSP))
save_gs(gs_EM3,addedWSP)
print (file.exists(addedWSP))

}

Thank you,
Sithara

@gfinak
Copy link
Member

gfinak commented Nov 2, 2020

@Sithara85 just following up, have you resolved this issue? Can you provide a simple reproducible example using one file?

@alexheubeck
Copy link

Hi @gfinak,

I'm getting a similar issue reconnecting files to FlowJo workspaces generated with CytoML. When you create the workspace file, it connects to the associated FCS files normally. But when a collaborator has opened the workspace on a different OS, when I go to open it again, nothing will reconnect. (I'm on Mac, and my collaborators are on Windows).

Our workaround has been to open a new .wsp file, load in the files, and then copy the gating over from the CytoML generated .wsp file.

I sent this to FlowJo to see if they could diagnose it, but they haven't gotten back to me yet.

Thanks,

Alex

@Sithara85
Copy link
Author

Sithara85 commented Dec 16, 2020

Hi Greg,

Yes, we resolved the issue a long time ago. I believe the issue was with some naming issue with FCS and associated WSP files.
You may see multiple fields in WSP XML files relating to the FCS files and we have to confirm all matches.

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

3 participants