OSCR

Block oscr:b:G2RTTYF9M8FG9-K

A block of code linked to a paper, with an identifier OSCR gives it for good: it is never reused nor deleted. What a block identifier is · this block in JSON

Identifier
oscr:b:G2RTTYF9M8FG9-K
Status
Current: the registry links these lines to the paper today.
Paper
doi:10.1371/journal.pgen.1012242 · its page here
Code
github.com/ljw20180420/cop, AI/preprocess/COP/encoder.py, lines 369 to 413 (DNAEncoder.forward)
Commit read
353997b21fa1b80fc71654e48a3c406c70572702
SWHID
swh:1:cnt:17e1403ff558db3ab02a166b154a0781f2eb1a86;origin=https://github.com/ljw20180420/cop;anchor=swh:1:rev:353997b21fa1b80fc71654e48a3c406c70572702;path=/AI/preprocess/COP/encoder.py;lines=369-413 (the Software Heritage identifier of the file as its authors published it, before any email address is hidden for display; it opens in Software Heritage's archive once the repository is archived there)
In the paper
paragraph 56 (Materials and methods › Artificial intelligence (AI) model › COP architecture.)
Linked by
the registry's matching program (lexical-v1), which can be wrong
Identifier given
2026-11-14

Open these lines beside the paper

Cite this block

Copy this text: the identifier and its page first, then the code, the paper and the SWHID.

Code block oscr:b:G2RTTYF9M8FG9-K (https://openscicode.org/b/oscr:b:G2RTTYF9M8FG9-K)
AI/preprocess/COP/encoder.py, lines 369 to 413, in github.com/ljw20180420/cop (https://github.com/ljw20180420/cop), commit 353997b21fa1b80fc71654e48a3c406c70572702.
Paper: https://doi.org/10.1371/journal.pgen.1012242
SWHID: swh:1:cnt:17e1403ff558db3ab02a166b154a0781f2eb1a86;origin=https://github.com/ljw20180420/cop;anchor=swh:1:rev:353997b21fa1b80fc71654e48a3c406c70572702;path=/AI/preprocess/COP/encoder.py;lines=369-413