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

Gentrain score in ClusterFile.py #26

Open
Derrup opened this issue Dec 31, 2020 · 1 comment
Open

Gentrain score in ClusterFile.py #26

Derrup opened this issue Dec 31, 2020 · 1 comment

Comments

@Derrup
Copy link

Derrup commented Dec 31, 2020

Hi! It was my understanding that the GenTrain score is "project" dependent and does not come from the cluster file. Is this correct?
If so, what does the score calculated in the GenTrain.py module refer to?

If not, am I correct in assuming that, when creating a GenomeStudio project with the same manifest and cluster file, I should always be getting the same GenTrain score for a certain SNP regardless of the samples?

@jjzieve
Copy link
Contributor

jjzieve commented Jan 3, 2021

Hi @Derrup, the "GenTrain score" on the GenomeStudio interface is the "Cluster Score" encoded into the cluster file (i.e. https://github.com/Illumina/BeadArrayFiles/blob/develop/module/ClusterFile.py#L184). You should get the same values per SNP if using the same manifest and cluster file, regardless of the samples. I would not call that "project dependent" however, because there are other states tied to a project that are saved in GenomeStudio that this library does not take into account (e.g. .bsc files).

I'm not sure what you mean by the "GenTrain.py module" but maybe you meant the GenotypeCalls.py module?
That "score" reflects the genotype score encoded in a GTC file (i.e. https://github.com/Illumina/BeadArrayFiles/blob/develop/module/GenotypeCalls.py#L411). In GenomeStudio, on the "Full Data Table" tab, this would be the "Score" per SNP and per sample.

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

2 participants