<commit_before>package uk.ac.ebi.atlas.bioentity.properties;

import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import uk.ac.ebi.atlas.model.experiment.baseline.BioentityPropertyName;

import static uk.ac.ebi.atlas.model.experiment.baseline.BioentityPropertyName.*;

public class BioEntityCardProperties {

    public static final ImmutableMap<BioentityPropertyName, String> linkTemplates =
        ImmutableMap.<BioentityPropertyName, String>builder()
        .put(ORTHOLOG,
                "/gxa/genes/{0}")
        .put(GOTERM,
                "http://www.ebi.ac.uk/ols/search?q={0}")
        .put(GO,
                "http://www.ebi.ac.uk/ols/ontologies/go/terms?iri=http://purl.obolibrary.org/obo/{0}")
        .put(POTERM,
                "http://www.ebi.ac.uk/ols/search?q={0}")
        .put(PO,
                "http://www.ebi.ac.uk/ols/ontologies/po/terms?iri=http://purl.obolibrary.org/obo/{0}")
        .put(INTERPROTERM,
                "http://www.ebi.ac.uk/interpro/search?q={0}")
        .put(INTERPRO,
                "http://www.ebi.ac.uk/interpro/entry/{0}")
        .put(ENSFAMILY_DESCRIPTION,
                "http://www.ensembl.org/{1}/Search/Results?q={2};facet_feature_type=Protein%20Family")
        .put(ENSGENE,
                "http://www.ensemblgenomes.org/id-gene/{0}")
        .put(ENSTRANSCRIPT,
                "http://www.ensemblgenomes.org/id/{0}")
        .put(ENSPROTEIN,
                "http://www.ensemblgenomes.org/id/{0}")
        .put(MGI_DESCRIPTION,
                "http://www.informatics.jax.org/searchtool/Search.do?query={0}")
        .put(ENTREZGENE,
                "http://www.ncbi.nlm.nih.gov/sites/entrez?db=gene&term={0}")
        .put(UNIPROT,
                "http://www.uniprot.org/uniprot/{0}")
        .put(MGI_ID,
                "http://www.emouseatlas.org/emagewebapp/pages/emage_general_query_result.jsf?genes={0}")
        .put(GENE_BIOTYPE,
                "http://www.ensembl.org/Help/Glossary?id=275" /*seems wrong*/)
        .put(REACTOME,
                "http://www.reactome.org/cgi-bin/eventbrowser_st_id?ST_ID={0}")<commit_msg>Style code<commit_after>package uk.ac.ebi.atlas.bioentity.properties;

import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableMap;
import uk.ac.ebi.atlas.model.experiment.baseline.BioentityPropertyName;

import static uk.ac.ebi.atlas.model.experiment.baseline.BioentityPropertyName.*;

public class BioEntityCardProperties {

    public static final ImmutableMap<BioentityPropertyName, String> linkTemplates =
        ImmutableMap.<BioentityPropertyName, String>builder()
        .put(ORTHOLOG,
                "/gxa/genes/{0}")
        .put(GOTERM,
                "http://www.ebi.ac.uk/ols/search?q={0}")
        .put(GO,
                "http://www.ebi.ac.uk/ols/ontologies/go/terms?iri=http://purl.obolibrary.org/obo/{0}")
        .put(POTERM,
                "http://www.ebi.ac.uk/ols/search?q={0}")
        .put(PO,
                "http://www.ebi.ac.uk/ols/ontologies/po/terms?iri=http://purl.obolibrary.org/obo/{0}")
        .put(INTERPROTERM,
                "http://www.ebi.ac.uk/interpro/search?q={0}")
        .put(INTERPRO,
                "http://www.ebi.ac.uk/interpro/entry/{0}")
        .put(ENSFAMILY_DESCRIPTION,
                "http://www.ensembl.org/{1}/Search/Results?q={2};facet_feature_type=Protein%20Family")
        .put(ENSGENE,
                "http://www.ensemblgenomes.org/id-gene/{0}")
        .put(ENSTRANSCRIPT,
                "http://www.ensemblgenomes.org/id/{0}")
        .put(ENSPROTEIN,
                "http://www.ensemblgenomes.org/id/{0}")
        .put(MGI_DESCRIPTION,
                "http://www.informatics.jax.org/searchtool/Search.do?query={0}")
        .put(ENTREZGENE,
                "http://www.ncbi.nlm.nih.gov/sites/entrez?db=gene&term={0}")
        .put(UNIPROT,
                "http://www.uniprot.org/uniprot/{0}")
        .put(MGI_ID,
                "http://www.emouseatlas.org/emagewebapp/pages/emage_general_query_result.jsf?genes={0}")
        .put(GENE_BIOTYPE,
                "http://www.ensembl.org/Help/Glossary?id=275")
        .put(REACTOME,
                "http://www.reactome.org/cgi-bin/eventbrowser_st_id?ST_ID={0}")
{'fraction_non_alphanumeric': 0.16959475286952447, 'fraction_numerical': 0.010306863434059498, 'mean_word_length': 2.2299546142208775, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 32, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2147803', 'n_tokens_mistral': 1594, 'n_tokens_neox': 1527, 'n_words': 114}