Skip to content

Commit c6c4972

Browse files
authored
Merge pull request #25 from yutanagano/develop
Prepare patch 1.0.1
2 parents 636d7b6 + 0aed739 commit c6c4972

File tree

6 files changed

+20
-9
lines changed

6 files changed

+20
-9
lines changed

.github/workflows/tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
strategy:
66
matrix:
77
os: [ubuntu-latest, windows-latest, macos-latest]
8-
python_ver: ['3.9', '3.10', '3.11', '3.12']
8+
python_ver: ['3.12']
99

1010
runs-on: ${{ matrix.os }}
1111
steps:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</div>
1313

1414
**SCEPTR** (**S**imple **C**ontrastive **E**mbedding of the **P**rimary sequence of **T** cell **R**eceptors) is a small, fast, and accurate TCR representation model that can be used for alignment-free TCR analysis, including for TCR-pMHC interaction prediction and TCR clustering (metaclonotype discovery).
15-
Our [manuscript (coming soon)](about:blank) demonstrates that SCEPTR can be used for few-shot TCR specificity prediction with improved accuracy over previous methods.
15+
Our [preprint](https://arxiv.org/abs/2406.06397) demonstrates that SCEPTR can be used for few-shot TCR specificity prediction with improved accuracy over previous methods.
1616

1717
SCEPTR is a BERT-like transformer-based neural network implemented in [Pytorch](https://pytorch.org).
1818
With the default model providing best-in-class performance with only 153,108 parameters (typical protein language models have tens or hundreds of millions), SCEPTR runs fast- even on a CPU!

docs/citing.rst

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
Citing sceptr
22
=============
33

4-
Coming soon...
4+
To cite sceptr, please refer to our `preprint <https://arxiv.org/abs/2406.06397>`_.
5+
6+
BibTex
7+
------
8+
9+
.. code-block:: bibtex
10+
11+
@misc{nagano2024contrastive,
12+
title={Contrastive learning of T cell receptor representations},
13+
author={Yuta Nagano and Andrew Pyo and Martina Milighetti and James Henderson and John Shawe-Taylor and Benny Chain and Andreas Tiffeau-Mayer},
14+
year={2024},
15+
eprint={2406.06397},
16+
archivePrefix={arXiv},
17+
primaryClass={q-bio.BM}
18+
}

docs/index.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ SCEPTR
22
======
33

44
**SCEPTR** (\ **S**\ imple **C**\ ontrastive **E**\ mbedding of the **P**\ rimary sequence of **T** cell **R**\ eceptors) is a small, fast, and performant TCR representation model that can be used for alignment-free downstream TCR and TCR repertoire analysis such as TCR clustering or classification.
5-
Our `manuscript (coming soon) <about:blank>`_ demonstrates SCEPTR's state-of-the-art performance (as of 2024) on downstream TCR specificity prediction.
5+
Our `preprint <https://arxiv.org/abs/2406.06397>`_ demonstrates SCEPTR's state-of-the-art performance (as of 2024) on downstream TCR specificity prediction.
66

77
SCEPTR is a BERT-like transformer-based neural network implemented in `Pytorch <https://pytorch.org>`_.
88
With the default model providing best-in-class performance with only 153,108 parameters (typical protein language models have tens or hundreds of millions), SCEPTR runs fast- even on a CPU!
@@ -18,7 +18,7 @@ What's even better is that they are fully compliant with `pyrepseq <https://pyre
1818
A visual introduction to how SCEPTR works, taken from our SCEPTR preprint.
1919
SCEPTR is a TCR language model (a,b) pre-trained using masked-language modelling and autocontrastive learning (c,d).
2020
(a) The default model uses the ``<cls>`` pooling method, but there is also a variant that is trained to use average-pooling (see :py:func:`sceptr.variant.average_pooling`).
21-
Please see the manuscript for more details.
21+
Please see the `preprint <https://arxiv.org/abs/2406.06397>`_ for more details.
2222

2323
.. toctree::
2424
:maxdepth: 2

src/sceptr/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from pandas import DataFrame
1111

1212

13-
__version__ = "1.0.0"
13+
__version__ = "1.0.1"
1414

1515

1616
def calc_cdist_matrix(anchors: DataFrame, comparisons: DataFrame) -> ndarray:

tox.ini

-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ env_list =
44

55
[gh-actions]
66
python =
7-
3.9: py39
8-
3.10: py310
9-
3.11: py311
107
3.12: py312
118

129
[testenv]

0 commit comments

Comments
 (0)