Skip to content

bioDS/snvformer_v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SNVformer V2

An updated version of the transformer model from https://www.biorxiv.org/content/10.1101/2022.07.07.499217v2.abstract

Now featuring:

  • hyperparameter search
  • faster transformer blocks
  • optional hyena encoder
  • gene encoding
  • optional gene-gene interaction graph for gene encoding

train_classifier.py is the main entrypoint, train_encoder.py can be used to only pretrain the encoder. See model_scripts/ for usage examples.

hyperparam_search.py runs a hyperparameter search.

Please cite our SNVformer paper if you find this useful: https://www.biorxiv.org/content/10.1101/2022.07.07.499217v2

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published