Closed zzzseeu closed 6 months ago
Hello @zzzseeu ,
This replacement of the tokens is done offline, outside of the model. During the training, a given sequence is sampled from the reference genome and we modify it with the given mutation before tokenizing, and the resulting tokens are fed to the model.
Hope this helps! Hugo
Hi dallatt,
Thanks for your work and providing such a great tool.
I would like to know how you process the sequence position information of the reference genome. I saw in the article that during the data preparation stage, the mutation sequence in the individual from corresponding position was used to replace the tokens of the reference seq. I don't know how this step is implemented because I don't see the input related to position information in your codes.
Looking forward to your reply, thanks!