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

how to create negative samples? #85

Open
wawpaopao opened this issue Dec 8, 2022 · 1 comment
Open

how to create negative samples? #85

wawpaopao opened this issue Dec 8, 2022 · 1 comment

Comments

@wawpaopao
Copy link

"To generate a single negative sample, a random reference bacterium and a random sample from the positive ClusterFinder set were selected. Each gene in the positive sample was replaced with a random gene from the reference bacteria, while considering only 1% of genes that were most similar in number of Pfam domains. In total, three samples were generated from each reference bacteria, producing 10 128 negative samples."

In theory, a lot of negative samples can be created. Have you tried to generate other numbers of negative samples for training?
And I don't figure out how to create a negative sample. In the above description, the operation object seems to be positive sample instead of reference bacteria.After removing the regions similar to MIBiG,How did you create negative samples?
Thank you very much!

@prihoda
Copy link
Collaborator

prihoda commented Dec 16, 2022

Hi @wawpaopao we haven't experimented with other settings or other methods of generating negative sets. You can download our negative samples "GeneSwap_Negatives.pfam.tsv" in format supported for DeepBGC training from this release page: https://github.com/Merck/deepbgc/releases/tag/v0.1.0

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