<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD v1.2 20190208//EN" "http://jats.nlm.nih.gov/publishing/1.2/JATS-journalpublishing1.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="other" dtd-version="1.2" xml:lang="en">
    <front>
        <journal-meta>
            <journal-id journal-id-type="pmc">F1000Research</journal-id>
            <journal-title-group>
                <journal-title>F1000Research</journal-title>
            </journal-title-group>
            <issn pub-type="epub">2046-1402</issn>
            <publisher>
                <publisher-name>F1000 Research Limited</publisher-name>
                <publisher-loc>London, UK</publisher-loc>
            </publisher>
        </journal-meta>
        <article-meta>
            <article-id pub-id-type="doi">10.12688/f1000research.136986.1</article-id>
            <article-categories>
                <subj-group subj-group-type="heading">
                    <subject>Software Tool Article</subject>
                </subj-group>
                <subj-group>
                    <subject>Articles</subject>
                </subj-group>
            </article-categories>
            <title-group>
                <article-title>CIViCutils: Matching and downstream processing of clinical annotations from CIViC</article-title>
                <fn-group content-type="pub-status">
                    <fn>
                        <p>[version 1; peer review: 4 approved with reservations]</p>
                    </fn>
                </fn-group>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Rosano-Gonzalez</surname>
                        <given-names>Mar&#x00ed;a L.</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Data Curation</role>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Software</role>
                    <role content-type="http://credit.niso.org/">Validation</role>
                    <role content-type="http://credit.niso.org/">Visualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Original Draft Preparation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-6247-5728</uri>
                    <xref ref-type="aff" rid="a1">1</xref>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Sreedharan</surname>
                        <given-names>Vipin T.</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Resources</role>
                    <role content-type="http://credit.niso.org/">Software</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a1">1</xref>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Hanns</surname>
                        <given-names>Antoine</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Software</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Original Draft Preparation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <xref ref-type="aff" rid="a1">1</xref>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="no">
                    <name>
                        <surname>Stekhoven</surname>
                        <given-names>Daniel J.</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Funding Acquisition</role>
                    <role content-type="http://credit.niso.org/">Project Administration</role>
                    <role content-type="http://credit.niso.org/">Resources</role>
                    <role content-type="http://credit.niso.org/">Supervision</role>
                    <role content-type="http://credit.niso.org/">Visualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <uri content-type="orcid">https://orcid.org/0000-0003-3163-3161</uri>
                    <xref ref-type="aff" rid="a1">1</xref>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <contrib contrib-type="author" corresp="yes">
                    <name>
                        <surname>Singer</surname>
                        <given-names>Franziska</given-names>
                    </name>
                    <role content-type="http://credit.niso.org/">Conceptualization</role>
                    <role content-type="http://credit.niso.org/">Formal Analysis</role>
                    <role content-type="http://credit.niso.org/">Funding Acquisition</role>
                    <role content-type="http://credit.niso.org/">Investigation</role>
                    <role content-type="http://credit.niso.org/">Methodology</role>
                    <role content-type="http://credit.niso.org/">Project Administration</role>
                    <role content-type="http://credit.niso.org/">Resources</role>
                    <role content-type="http://credit.niso.org/">Software</role>
                    <role content-type="http://credit.niso.org/">Supervision</role>
                    <role content-type="http://credit.niso.org/">Visualization</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Original Draft Preparation</role>
                    <role content-type="http://credit.niso.org/">Writing &#x2013; Review &amp; Editing</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-6017-1595</uri>
                    <xref ref-type="corresp" rid="c1">a</xref>
                    <xref ref-type="aff" rid="a1">1</xref>
                    <xref ref-type="aff" rid="a2">2</xref>
                </contrib>
                <aff id="a1">
                    <label>1</label>NEXUS Personalized Health Technologies, ETH Zurich, Schlieren, 8952, Switzerland</aff>
                <aff id="a2">
                    <label>2</label>SIB Swiss Institute of Bioinformatics, Lausanne, 1015, Switzerland</aff>
            </contrib-group>
            <author-notes>
                <corresp id="c1">
                    <label>a</label>
                    <email xlink:href="mailto:singer@nexus.ethz.ch">singer@nexus.ethz.ch</email>
                </corresp>
                <fn fn-type="conflict">
                    <p>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>11</day>
                <month>10</month>
                <year>2023</year>
            </pub-date>
            <pub-date pub-type="collection">
                <year>2023</year>
            </pub-date>
            <volume>12</volume>
            <elocation-id>1304</elocation-id>
            <history>
                <date date-type="accepted">
                    <day>10</day>
                    <month>8</month>
                    <year>2023</year>
                </date>
            </history>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2023 Rosano-Gonzalez ML et al.</copyright-statement>
                <copyright-year>2023</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <self-uri content-type="pdf" xlink:href="https://f1000research.com/articles/12-1304/pdf"/>
            <abstract>
                <p>
                    <bold>Background:</bold> With the advent of next-generation sequencing, profiling the genetic landscape of tumors entered clinical diagnostics, bringing the resolution of precision oncology to unprecedented levels. However, the wealth of information generated in a sequencing experiment can be difficult to manage, especially if hundreds of mutations need to be interpreted in a clinical context. Dedicated methods and databases are required that assist in interpreting the importance of a mutation for disease progression, prognosis, and with respect to therapy. Here, the CIViC knowledgebase is a valuable curated resource, however, utilizing CIViC in an efficient way for querying a large number of mutations needs sophisticated downstream methods.</p>
                <p>
                    <bold>Methods:</bold> To this end, we have developed CIViCutils, a Python package to query, annotate, prioritize, and summarize information from the CIViC database. Our package provides functionality for performing high-throughput searches in CIViC, automatically matching clinical evidence to input variants, evaluating the accuracy of the extracted variant matches, fully exploiting the available disease-specific information according to cancer types of interest, and in-silico predicting drug-target interactions tailored to individual patients.</p>
                <p>
                    <bold>Results:</bold> CIViCutils allows the simultaneous query of hundreds of mutations and is able to harmonize input across different nomenclatures. Moreover, it supports gene expression data, single nucleotide mutations, as well as copy number alterations as input. We utilized CIViCutils in a study on the bladder cancer cohort from The Cancer Genome Atlas (TCGA-BLCA), where it helped to extract clinically relevant mutations for personalized therapy recommendation.</p>
                <p>
                    <bold>Conclusions:</bold> CIViCutils is an easy-to-use Python package that can be integrated into workflows for profiling the genetic landscape of tumor samples. It streamlines interpreting large numbers of variants with retrieving and processing curated CIViC information.</p>
            </abstract>
            <kwd-group kwd-group-type="author">
                <kwd>In-silico drug prediction</kwd>
                <kwd>variant prioritization</kwd>
                <kwd>clinical relevance</kwd>
                <kwd>CIViC database</kwd>
                <kwd>API query</kwd>
            </kwd-group>
            <funding-group>
                <funding-statement>The author(s) declared that no grants were involved in supporting this work.</funding-statement>
            </funding-group>
        </article-meta>
    </front>
    <body>
        <sec id="sec1" sec-type="intro">
            <title>Introduction</title>
            <p>In recent years, next-generation sequencing (NGS) has become one of the main technologies to profile the genetic landscape of tumors, offering unprecedented insights into disease mechanisms, personalized patient care and potential treatment options.
                <sup>
                    <xref ref-type="bibr" rid="ref1">1</xref>
                </sup>
                <sup>,</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref2">2</xref>
                </sup> One key aspect in precision oncology is the evaluation of actionable molecular alterations from cancer samples, in order to select promising targeted therapies and to predict the specific response (i.e., beneficial or adverse) of patients to a particular choice of treatment.
                <sup>
                    <xref ref-type="bibr" rid="ref2">2</xref>
                </sup> However, the implementation of tailored strategies in routine cancer patient care still remains a challenging task. The wealth of data generated in standard NGS experiments, such as variant calling from whole exome sequencing (WES) or gene expression levels based on bulk RNA sequencing, needs to be interpreted in a meaningful way in order to guide clinical decision-making. Furthermore, clinical interpretation of the observed molecular profile requires an in-depth evaluation of the ever-growing biomedical literature, which is both a time-consuming and complex process that needs to be performed by experts.
                <sup>
                    <xref ref-type="bibr" rid="ref1">1</xref>
                </sup>
                <sup>,</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref2">2</xref>
                </sup> Altogether, a manual annotation of the oftentimes hundreds of readouts resulting from high-throughput technologies is challenging due to the amount of curation burden involved.</p>
            <p>To overcome this bottleneck, sophisticated databases have evolved to aid the extraction of clinically relevant and actionable insights from the molecular composition of tumor samples, by enriching the identified aberrations with information such as prognosis or treatment relevance.
                <sup>
                    <xref ref-type="bibr" rid="ref1">1</xref>
                </sup> Among those databases, a very popular and highly curated one is the 
                <ext-link ext-link-type="uri" xlink:href="https://civicdb.org">CIViC knowledgebase</ext-link>, a powerful resource for the clinical interpretation of variants in precision oncology.
                <sup>
                    <xref ref-type="bibr" rid="ref3">3</xref>
                </sup> This database contains expert-reviewed information about the clinical actionability of cancer genes and their molecular alterations, linking them to disease-specific knowledge about their potential therapeutic, prognostic, predisposing and diagnostic value. CIViC also provides a public application programming interface (API), which allows users to programmatically access and retrieve data from the knowledgebase.
                <sup>
                    <xref ref-type="bibr" rid="ref3">3</xref>
                </sup> Nevertheless, sophisticated query tools are still required, on the one hand to enable the efficient simultaneous query of hundreds of variants, which is necessary for analyzing multiple patients in parallel. On the other hand, downstream annotation, prioritization, and summary of CIViC records is still necessary to streamline clinical interpretation. Recently, a Python package called 
                <ext-link ext-link-type="uri" xlink:href="https://docs.civicpy.org">CIViCpy</ext-link> has become available that offers a solution for the first issue of large-scale retrieval and inspection of CIViC records.
                <sup>
                    <xref ref-type="bibr" rid="ref4">4</xref>
                </sup> This tool ensures the success of high-throughput queries by leveraging an offline version of the online content that is hosted in the knowledgebase, and it also provides valuable functionality such as coordinate search methods for the precached variants.</p>
            <p>Despite these advancements, matching CIViC evidence to observed tumor aberrations in an automated fashion continues to be a challenge. The lookup strategies supported by CIViCpy impose limitations on the type of alterations and attributes that can be found. Moreover, the queries are exclusively coordinate-based, which can be too sensitive in case a particular amino acid change is under consideration; or it can be too restrictive, e.g. in case generally the variants affecting a particular gene are in the focus. For instance, users may wish to fetch evidence from gene expression records (which are coordinate-independent in the database), match variants on the basis of their effect in the downstream proteins rather than their genomic coordinates, or perform position-independent searches for copy number alterations in a gene. Moreover, taking full advantage of the different information available for clinical evidence in CIViC requires intricate prioritization, grouping and filtering of the extracted variant and drug information, which is not supported by CIViCpy. To this end, we implemented CIViCutils, an open-source Python package for rapid retrieval, matching and downstream processing of expert-curated evidence records from CIViC. CIViCutils can be easily incorporated into precision oncology workflows to provide variant-level disease-specific information about treatment response, pathogenesis, diagnosis, and prognosis of genomic aberrations, as well as differentially expressed genes. Convenient features offered by our package include simplified position-independent variant retrieval, subsequent match quality evaluation and prioritization based on cancer types of interest, flexible record filtering, grouping of the extracted experimental findings, and standardized reporting of the final annotations. CIViCutils is intended to facilitate the analysis and interpretation of CIViC information, with particular focus on the context of in-silico drug candidate prediction, enabling custom support during the clinical decision-making process, and in turn contributing to faster analysis turn-around times.</p>
            <p>The package has already been applied in previous studies and analysis workflows,
                <sup>
                    <xref ref-type="bibr" rid="ref5">5</xref>
                </sup>
                <sup>&#x2013;</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref7">7</xref>
                </sup> one of which is the automated annotation of cancer aberrations using WES variant calling data derived from the muscle-invasive bladder cancer cohort of The Cancer Genome Atlas (TCGA-BLCA).
                <sup>
                    <xref ref-type="bibr" rid="ref8">8</xref>
                </sup> We use this study to showcase the functionality and use cases of CIViCutils.</p>
        </sec>
        <sec id="sec2" sec-type="methods">
            <title>Methods</title>
            <p>CIViCutils is an open-source Python package for extracting, selecting, filtering, prioritizing, grouping and reporting variant-specific clinical information from the expert-curated knowledgebase CIViC
                <sup>
                    <xref ref-type="bibr" rid="ref3">3</xref>
                </sup> (see 
                <xref ref-type="fig" rid="f1">Figure 1</xref>). It is primarily intended to be used for supplying clinical annotations to variants and drug pairs. In the following, we provide a basic overview on design choices and output. For detailed information about specific modules, required input files, and source code of CIViCutils we refer to our GitHub repository (see 
                <italic toggle="yes">Software availability</italic>).</p>
            <fig fig-type="figure" id="f1" orientation="portrait" position="float">
                <label>Figure 1. </label>
                <caption>
                    <title>Overview of CIViCutils features and input data.</title>
                    <p>CIViCutils supports as input variant-calling data (SNVs, InDels, and CNVs) and expression data. Note that SNVs and InDels can be processed simultaneously and thus are regarded as a single category &#x201c;SNV&#x201d;. After the query of the CIViC knowledgebase, CIViCutils performs variant-specific matching of the provided variants to clinical evidence extracted from the database. A tier-based rating system is used for evaluating the quality of the resulting matches. In addition, the package offers functionality for annotating, aggregating, and filtering the retrieved evidences. Given one or more cancer indications that are of interest to the user, CIViCutils can further annotate data matched from CIViC with labels describing the disease specificity of the evidence. Drug prediction evidences can be aggregated (together with the cancer specificity information) into consensus drug responses. Abbreviations: SNV, single nucleotide variant; InDel, insertion-deletion mutation; CNV, copy number variant; CIViC, Clinical Interpretations for Variants in Cancer.</p>
                </caption>
                <graphic id="gr1" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/150133/c9666179-e982-4c47-af9a-27bd88f6e8e6_figure1.gif"/>
            </fig>
            <sec id="sec3">
                <title>Implementation</title>
                <p>
                    <italic toggle="yes">Input files and CIViC query</italic>
                </p>
                <p>The input for CIViCutils is a list of the genes and their molecular alterations that should be queried in CIViC. The package can handle four different types of information: genomic-based data in the form of single nucleotide variants (SNVs), short insertions and deletions (InDels), and copy number variants (CNVs), as well as gene expression data from differential expression analyses. In the context of CIViCutils, SNVs and InDels are handled together and thus considered as a single category &#x201c;SNV&#x201d; (
                    <xref ref-type="fig" rid="f1">Figure 1</xref>). The minimum information required for a CIViCutils query are the gene names, where the specific format and content of the input file depends on the data type at hand and is described in the GitHub repository (see 
                    <italic toggle="yes">Software availability</italic>).</p>
                <p>CIViCutils depends on the Python package CIViCpy
                    <sup>
                        <xref ref-type="bibr" rid="ref4">4</xref>
                    </sup> for performing large-volume queries to CIViC, as it leverages its offline access to the knowledgebase to ease the retrieval of the often hundreds of variant records returned from high-throughput queries in standard high-throughput experiments. The query supports three different types of gene identifiers (Entrez symbols, Entrez IDs and internal CIViC IDs), and alternative gene symbols such as aliases or synonyms are also permitted during the search.</p>
                <p>
                    <italic toggle="yes">Tier-based matching of variants</italic>
                </p>
                <p>One core functionality of CIViCutils is its matching framework, which associates specific variants retrieved from CIViC with the input aberrations provided by the user (
                    <xref ref-type="fig" rid="f1">Figure 1</xref>). This step is needed because oftentimes variants from different sources follow different nomenclatures, and in the particular case of CIViC records, they often deviate from the recommended and widely used 
                    <ext-link ext-link-type="uri" xlink:href="https://varnomen.hgvs.org/">guidelines</ext-link> by the Human Genome Variation Society (HGVS), and many entries do not even have HGVS expressions available. For this reason, we generate a standardized format for both the CIViC records and the input alterations, dependent on the type of variant being queried in each situation, and making use of HGVS guidelines whenever possible. As for CNVs and differential gene expression data which, to date, do not have any HGVS nomenclature available in CIViC, the matching is exclusively based on a reduced set of expressions known to be commonly used to designate this kind of molecular aberrations. Whenever additional information about the exon location and/or predicted variant impacts of the input SNVs and InDels has been supplied to CIViCutils, these annotations will also be leveraged by our package during the matching of variants. The quality of the resulting variant-specific matches between input and CIViC is assessed through a tier-based rating system (see 
                    <xref ref-type="table" rid="T1">Table 1</xref>). Note that, as a result of the matching framework, more than one CIViC record could potentially qualify and be assigned to the same queried variant.</p>
                <table-wrap id="T1" orientation="portrait" position="float">
                    <label>Table 1. </label>
                    <caption>
                        <title>Overview of the tier-based rating system used by CIViCutils.</title>
                        <p>Matches at the variant level are evaluated through a system of five tier categories, as described below. Categories are listed in descending hierarchical order, i.e. tier 1 matches are prioritized by the package over tier 3 ones. Note that tier 1b is only supported for SNVs/InDels, while tier 2 is not available for differential gene expression data. Abbr.: logFC, log fold-change; SNV, single nucleotide variant; InDel, insertion-deletion mutation; CNV, copy number variant; CIViC, Clinical Interpretations for Variants in Cancer.</p>
                    </caption>
                    <table content-type="article-table" frame="hsides">
                        <thead>
                            <tr>
                                <th align="left" colspan="1" rowspan="1" valign="top">Tier</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">Description</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">Supported data types</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">Example input variant</th>
                                <th align="left" colspan="1" rowspan="1" valign="top">Example matches from CIViC</th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td align="left" colspan="1" rowspan="3" valign="middle">1</td>
                                <td align="left" colspan="1" rowspan="3" valign="middle">Perfect match found between the input variant and CIViC records.</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">SNVs/InDels</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <italic toggle="yes">BRAF:p.Val600Glu</italic>
                                </td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/12/summary">
                                        <italic toggle="yes">V600E</italic>
                                    </ext-link>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="middle">CNVs</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <italic toggle="yes">EGFR:AMP/GAIN/DUP</italic>
                                </td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/190/summary">
                                        <italic toggle="yes">AMPLIFICATION</italic>
                                    </ext-link>
                                    <italic toggle="yes">,</italic> 
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/191/summary">
                                        <italic toggle="yes">COPY NUMBER VARIATION</italic>
                                    </ext-link>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="middle">Expression</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <italic toggle="yes">ALK:logFC&gt;0</italic>
                                </td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/2635/summary">
                                        <italic toggle="yes">OVEREXPRESSION</italic>
                                    </ext-link>
                                    <italic toggle="yes">,</italic> 
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/2914/summary">
                                        <italic toggle="yes">EXPRESSION</italic>
                                    </ext-link>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="3" valign="middle">1b</td>
                                <td align="left" colspan="1" rowspan="3" valign="middle">Non-perfect match, corresponding to CIViC records with descriptive variant names which are commonly used in the knowledgebase to designate unspecified sets of variants, e.g. of a particular type, associated to a given region of the gene, or found in specific genomic regions.</td>
                                <td align="left" colspan="1" rowspan="3" valign="middle">SNVs/InDels</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <italic toggle="yes">NRAS:p.Ter213Cys</italic>
                                </td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/208/summary">
                                        <italic toggle="yes">MUTATION</italic>
                                    </ext-link>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <italic toggle="yes">SMAD4:p.Glu55fs</italic>
                                </td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/2413/summary">
                                        <italic toggle="yes">FRAMESHIFT MUTATION</italic>
                                    </ext-link>
                                    <italic toggle="yes">,</italic> 
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/216/summary">
                                        <italic toggle="yes">MUTATION</italic>
                                    </ext-link>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <italic toggle="yes">CTNNB1:p.Ser60Phe</italic>
                                </td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/2892/summary">
                                        <italic toggle="yes">EXON 3 MUTATION</italic>
                                    </ext-link>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="2" valign="middle">2</td>
                                <td align="left" colspan="1" rowspan="2" valign="middle">Positional match where the protein position affected in the CIViC record is the same as the input variant, while the amino acid change differs between them.</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">SNVs/InDels</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <italic toggle="yes">BRAF:p.Val601Ser</italic>
                                </td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/2825/summary">
                                        <italic toggle="yes">V601E</italic>
                                    </ext-link>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="middle">CNVs</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <italic toggle="yes">EGFR:DEL/LOSS</italic>
                                </td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/252/summary">
                                        <italic toggle="yes">EXON 4 DELETION</italic>
                                    </ext-link>
                                    <italic toggle="yes">,</italic> 
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/133/summary">
                                        <italic toggle="yes">EXON 19 DELETION</italic>
                                    </ext-link>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="3" valign="middle">3</td>
                                <td align="left" colspan="1" rowspan="3" valign="middle">No CIViC record matches the input variant, only the associated gene was found in CIViC. In this case, all variant records available for the corresponding gene and corresponding to the data type at hand, if any, are returned by the query.</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">SNVs/InDels</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <italic toggle="yes">NF2:p.Glu106Lys</italic>
                                </td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/279/summary">
                                        <italic toggle="yes">K159FS</italic>
                                    </ext-link>
                                    <italic toggle="yes">,</italic>
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/659/summary">
                                        <italic toggle="yes">MUTATION</italic>
                                    </ext-link>
                                    <italic toggle="yes">,</italic> 
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/245/summary">
                                        <italic toggle="yes">Y177FS</italic>
                                    </ext-link>
                                    <italic toggle="yes">,</italic>
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/3002/summary">
                                        <italic toggle="yes">C.1396C</italic>
                                    </ext-link>
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/3002/summary">
                                        <italic toggle="yes">&gt;T</italic>
                                    </ext-link>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="middle">CNVs</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <italic toggle="yes">BRAF:DEL/LOSS</italic>
                                </td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/1269/summary">
                                        <italic toggle="yes">AMPLIFICATION</italic>
                                    </ext-link>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="middle">Expression</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <italic toggle="yes">ALK:logFC&lt;0</italic>
                                </td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/2635/summary">
                                        <italic toggle="yes">OVEREXPRESSION</italic>
                                    </ext-link>
                                    <italic toggle="yes">,</italic> 
                                    <ext-link ext-link-type="uri" xlink:href="https://civicdb.org/variants/2914/summary">
                                        <italic toggle="yes">EXPRESSION</italic>
                                    </ext-link>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="3" valign="middle">4</td>
                                <td align="left" colspan="1" rowspan="3" valign="middle">Query did not return any results, as neither variant nor gene was found in CIViC.</td>
                                <td align="left" colspan="1" rowspan="1" valign="middle">SNVs/InDels</td>
                                <td align="left" colspan="1" rowspan="3" valign="middle">
                                    <italic toggle="yes">KCNQ2</italic>
                                </td>
                                <td align="left" colspan="1" rowspan="3" valign="middle">
                                    <italic toggle="yes">-</italic>
                                </td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="middle">CNVs</td>
                            </tr>
                            <tr>
                                <td align="left" colspan="1" rowspan="1" valign="middle">Expression</td>
                            </tr>
                        </tbody>
                    </table>
                </table-wrap>
                <p>
                    <italic toggle="yes">Annotating disease specificity</italic>
                </p>
                <p>While the variant-specific clinical data returned by CIViCutils can often be considerable in size, as well as very diverse with regard to associated disease information, users frequently rather focus on a particular cancer type or even subtype of relevance during the annotation of their variants. To this end, CIViCutils allows for categorization and prioritization of CIViC data based on the specificity of their cancer indication compared to one or more indications of interest. Relevant keywords can be specified by the user and are used to match disease names of particular significance and simultaneously exclude undesired indications from the CIViC results. In addition, high-level disease names that occur in CIViC (e.g. 
                    <italic toggle="yes">cancer</italic> or 
                    <italic toggle="yes">solid tumor</italic>) can be specified and will serve as a &#x201c;second-best&#x201d; alternative during the classification whenever relevant terms are not found. CIViCutils reports records in three categories in descending hierarchical order: cancer type specific (&#x201c;ct&#x201d;), when the disease name matches relevant keywords, general cancer type specificity (&#x201c;gt&#x201d;), when the conditions for category &#x201c;ct&#x201d; are not fulfilled and the disease name matches unspecific high-level terms, and non-specific cancer type (&#x201c;nct&#x201d;), when none of the previous conditions are fulfilled.</p>
                <p>
                    <italic toggle="yes">Filtering clinical data</italic>
                </p>
                <p>CIViCutils offers functionality for flexible record filtering at several levels of its annotation workflow (see 
                    <xref ref-type="fig" rid="f1">Figure 1</xref>), allowing the possibility to clean-up and to prioritize data. For many purposes it is recommended to filter data retrieved from the CIViC query, e.g. to exclude records that have not yet been expert-reviewed, or to retrieve variants of a specific type such as somatic or germline. Furthermore, it is possible to prioritize and filter variants based on the tiers resulting from the matching framework of CIViCutils (e.g. to select clinical data from the best tier match available, or ignore input aberrations that could not be found in CIViC), as well as based on their annotated cancer type specificity (e.g. to retrieve evidences from the best classification found, or to focus exclusively on records associated with a particular disease of interest).</p>
                <p>
                    <italic toggle="yes">Consensus drug response predictions</italic>
                </p>
                <p>CIViCutils provides a module for further processing and aggregating the predictive evidence annotated from CIViC into so-called &#x201c;consensus drug responses&#x201d;. Predictive data correspond to drug-variant interactions that can be used for in-silico prediction of the therapeutic response on the basis of actionable molecular targets. While CIViC contains a substantial number of these records, they can often be complex to interpret and quite diverse concerning content. For instance, even for the same aberration, a multitude of claims might exist across an extensive range of cancers, in turn involving various drug names and different clinical interpretations depending on the given indication. At the same time, the underlying evidence might greatly vary in terms of quantity and quality.</p>
                <p>CIViCutils eases the interpretation of this multitude of records by combining them into a single and unanimous response prediction per aberration, and taking into account drug name and cancer type specificity. Clinical data is characterized in the knowledgebase by a combination of evidence direction and clinical significance terms. CIViCutils further interprets these records into a reduced set of expressions relative to the direct therapeutic prediction (&#x201c;POSITIVE&#x201d;, &#x201c;NEGATIVE&#x201d; or &#x201c;UNKNOWN&#x201d;).</p>
                <p>In order to provide the consensus drug response prediction, first the CIViC information is standardized across records, followed by a majority vote of the available evidence (taking into account disease specificity). The consensus reported by CIViCutils is the drug response prediction with the highest number of occurrences across all records available for the therapy, cancer type specificity, and molecular alteration at hand, resulting in one of the following categories: &#x201c;SUPPORT&#x201d; (overall the evidence is considered &#x201c;POSITIVE&#x201d;), &#x201c;RESISTANCE&#x201d; (majority is &#x201c;NEGATIVE&#x201d;), &#x201c;CONFLICT&#x201d; (unresolved cases with contradicting information) and &#x201c;UNKNOWN&#x201d; (prevailing category is &#x201c;UNKNOWN&#x201d;, i.e. the predictive value is not known).</p>
                <p>
                    <italic toggle="yes">Output file</italic>
                </p>
                <p>CIViCutils reports the annotated CIViC information into a new file, using the same layout as the input file of molecular alterations originally provided to the package. New columns are appended that summarize clinically relevant data from the knowledgebase, using an identical human- and machine-readable format regardless of the type of variants at hand.</p>
                <p>For each variant provided to CIViCutils, information about the corresponding records extracted from CIViC is always reported with a single tier classification, rating the accuracy and overall quality of the match. Additional columns contain different aspects of the variant records, including their CIViC Actionability Scores, variant type classifications, and all associated clinical statements on disease diagnosis, prognosis, predisposition and predictive therapeutic response. Individual records are described by their specific combination of cancer indication, evidence direction, clinical significance and evidence level, as well as the publication reviewed by curators to endorse the claim. Publications are referenced using their citation identifiers, namely, 
                    <ext-link ext-link-type="uri" xlink:href="https://pubmed.ncbi.nlm.nih.gov/">PubMed</ext-link> sources and abstracts from the 
                    <ext-link ext-link-type="uri" xlink:href="https://www.asco.org/">American Society of Clinical Oncology</ext-link>.</p>
                <p>In addition, CIViCutils can aggregate clinical data of the same evidence type and from the same variant match to ease readability. In the first layer of aggregation, records assigned to the same evidence level are reported together under a single statement that lists the different supporting publications. In turn, claims describing the same type of clinical action (i.e. identical combination of direction and clinical significance) are also clustered, followed by the aggregation of evidence associated with identical disease names. Optionally, additional details about the CIViC records can be displayed, such as status in the database or confidence rating, as well as CIViCutils&#x2019; disease term information or consensus drug reports.</p>
            </sec>
            <sec id="sec4">
                <title>Operation</title>
                <p>CIViCutils can be run on a Linux-based or MacOS system and requires 
                    <ext-link ext-link-type="uri" xlink:href="https://www.python.org/downloads/release/python-370/">Python 3.7</ext-link>, as well as an installation of CIViCpy (instructions are provided on the 
                    <ext-link ext-link-type="uri" xlink:href="https://github.com/ETH-NEXUS/civicutils">GitHub repository</ext-link>). Querying a total of 34,039 SNVs/InDels and CNVs called on the whole-exome sequencing data from the TCGA-BLCA cohort required a total of 100 MB memory and 56 minutes.</p>
            </sec>
        </sec>
        <sec id="sec5">
            <title>Use cases</title>
            <sec id="sec6">
                <title>Query and annotation of TCGA-BLCA variants</title>
                <p>In the following we showcase different aspects of how CIViCutils facilitates the interpretation of molecular data. The examples are based on a previous study that analyzed somatic variants observed in the bladder cancer cohort (TCGA-BLCA) that is part of The Cancer Genome Atlas (TCGA).
                    <sup>
                        <xref ref-type="bibr" rid="ref6">6</xref>
                    </sup>
                    <sup>,</sup>
                    <sup>
                        <xref ref-type="bibr" rid="ref8">8</xref>
                    </sup> In this former study, CIViCutils was applied to a total of 34,039 SNVs/InDels and CNVs found across 412 bladder cancer patients, with the aim of identifying actionable aberrations and a set of the clinically most relevant genes and their corresponding therapies. CIViCutils was applied independently to the annotated variants observed in each tumor sample. The retrieved records were subsequently filtered e.g., in order to remove evidence not yet accepted in the knowledgebase, or data linked to germline variants. With CIViCutils input variants were matched to the available CIViC information on the basis of the best tier category. Next, the matched CIViC evidence was annotated with disease specificity information; &#x201c;bladder&#x201d; and &#x201c;solid tumor&#x201d; were provided as relevant and unspecific terms to the package, respectively. Based on this information, CIViCutils could further filter the annotated CIViC evidence to only select information from the highest cancer specificity found for every variant and evidence type. Subsequently, all remaining drug prediction data available for the matched variants were processed into consensus drug response predictions. As a result, all records with evidence direction &#x201c;DOES NOT SUPPORT&#x201d; were translated into drug response category &#x201c;UNKNOWN&#x201d;. Manual curation performed in Krentel 
                    <italic toggle="yes">et al</italic>. proved this type of evidence to have an ambiguous meaning, dependant on the specific context of the underlying data, hence making it difficult to translate into a clearly defined consequence without the review of an expert. Following the same logic, records associated with blank or null (&#x201c;N/A&#x201d;) values in their evidence direction and/or clinical significance were also considered to be category &#x201c;UNKNOWN&#x201d;.</p>
            </sec>
            <sec id="sec7">
                <title>Proportion and quality of variant matches</title>
                <p>The set of 34,039 actionable variants initially supplied to CIViCutils consisted of 13,514 SNVs/InDels (hereafter jointly referred to as &#x201c;SNVs&#x201d;) and 20,525 CNVs. The number of input SNVs available per patient spanned from 0 to 574 throughout the cohort, with an overall mean of 33 SNVs, whereas the average number of CNVs was 50, ranging between 0 and 243. Of those, CIViCutils matched CIViC information for 21% and 74% of the actionable SNVs and CNVs, respectively (see 
                    <xref ref-type="fig" rid="f2">Figure 2A</xref>). The remaining variants were associated with genes that are not contained in CIViC, and hence were assigned tier 4 by CIViCutils. We refer to the 
                    <italic toggle="yes">Extended data</italic> (section 1) for information on the per-sample number of variants that could be matched to CIViC.
                    <sup>
                        <xref ref-type="bibr" rid="ref10">9</xref>
                    </sup> On average, each SNV could be associated with two different CIViC variant records, whereas for CNVs only one hit was reported per individual alteration. However, overall more CNVs than SNVs could be matched in CIViC. This is due to the fact that CNVs can affect multiple genes (on average 220 genes per CNV for the variants identified in the TCGA-BLCA cohort) in contrast to SNVs that are associated with only one gene. Consequently, the likelihood of a given CNV having CIViC information available for at least one gene is higher than that of a SNV. We refer to Extended data section 3 for an overview of the identified evidence types (&#x201c;Predictive&#x201d;, &#x201c;Prognostic&#x201d;, &#x201c;Diagnostic&#x201d;, Predisposing&#x201d;) that are available in CIViC for the variants called in the bladder cancer cohort.
                    <sup>
                        <xref ref-type="bibr" rid="ref10">9</xref>
                    </sup>
                </p>
                <fig fig-type="figure" id="f2" orientation="portrait" position="float">
                    <label>Figure 2. </label>
                    <caption>
                        <title>Fractions of SNVs and CNVs matching to CIViC information.</title>
                        <p>(A) Pie charts show the overall fractions of bladder cancer aberrations which were successfully matched by CIViCutils to clinical data from CIViC. (B) Pie charts illustrate the cohort-based fractions of tiers annotated by CIViCutils for the set of SNVs and CNVs successfully matched in CIViC across the 412 patients. Cancer aberrations found to have exact hits in CIViC are shown in red (tier 1), non-exact variants are represented in dark blue (tier 1b), while yellow and light blue portions illustrate positional (tier 2) and gene-only (tier 3) hits. Note that tier 1b is not available for CNVs. Abbr.: SNV, single nucleotide variant; CNV, copy number variant; CIViC, Clinical Interpretations for Variants in Cancer.</p>
                    </caption>
                    <graphic id="gr2" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/150133/c9666179-e982-4c47-af9a-27bd88f6e8e6_figure2.gif"/>
                </fig>
                <p>The matched records were further assigned their highest-ranking tier category (hierarchical order: tier 1 &gt; tier 1b &gt; tier 2 &gt; tier 3) to assess the overall quality of the matches (see 
                    <xref ref-type="fig" rid="f2">Figure 2B</xref>). Out of the 2,864 SNVs with clinical data detected across the cohort, 7% were classified as tier 1 (n=208), 46% as tier 1b (n=1,311), and 0.2% as tier 2 (n=5). From the set of 15,192 CNVs that have been successfully matched to CIViC records, 38.7% correspond to tier 1 (n=5,875), and 0.2% to tier 2 hits (n=37). On the other hand, the remaining set of tier 3 aberrations assigned by CIViCutils accounted for 47% (n=1,340) and 61% (n=9,280) of the SNV and CNV hits, respectively. Thus, in both variant types tier 3 represents the largest fraction of alterations. We refer to the Extended data (section 2) for a per-sample analysis of the tier assignment.
                    <sup>
                        <xref ref-type="bibr" rid="ref10">9</xref>
                    </sup>
                </p>
                <p>Overall, exact matches were observed more frequently in the CNV set than the SNV one (39% and 7%, respectively). This is likely due to the fact that CNVs are annotated with only a few simple categories (e.g., amplification or gain) that have a higher chance to be matched compared to the complex and diverse annotations available for SNVs. On the contrary, positional matches were rarely observed regardless of the genomic alteration being considered (0.2%), in the case of CNVs, probably due to limited availability of database records fulfilling this classification, while for SNVs, it is more likely that either exact or gene-only hits were found in the database. The conditions defined for tier 1b and tier 3 are much broader and typically easier to fulfill by any variant. Accordingly, many variants match as non-exact hits, e.g., tier 3 hits represent the large majority of the retrieved CIViC matches (61%). Interestingly, tier 1b classifications (non-perfect, but of a particular type or in concrete regions of the gene, e.g., located in specific exons or introns) constitute a large proportion of matches (47%). This type of records supported by CIViCutils would not have been matched with coordinate-based searches, but it is relatively common in the CIViC knowledgebase.</p>
            </sec>
            <sec id="sec8">
                <title>Impact of disease specificity annotation</title>
                <p>CIViCutils enables the prioritization of variant matches according to disease specificity. Category ct (cancer type specific, in the TCGA-BLCA cohort analysis specified as &#x201c;bladder cancer&#x201d;) is the most specific match, whereas gt (general type, unspecific, in our example &#x201c;solid tumor&#x201d;) is the second-best match, and nct (non-cancer type specific) corresponds to cancer types differing from the cancer type of interest. 
                    <xref ref-type="fig" rid="f3">Figure 3A</xref> illustrates the fraction of ct, gt, and nct matches per patient. As expected, the majority of records do not correspond to the cancer type of interest (as CIViC hosts information across many different cancer types, and only few of them match the ct term). This exemplifies the importance of an annotation of the disease specificity, as the categorization further helps to stratify the most relevant variants for each patient. We refer to the Extended data (section 4) for more information on the different disease types occurring in the nct category and more details on the observed ct and gt matches per sample.
                    <sup>
                        <xref ref-type="bibr" rid="ref10">9</xref>
                    </sup>
                </p>
                <fig fig-type="figure" id="f3" orientation="portrait" position="float">
                    <label>Figure 3. </label>
                    <caption>
                        <title>Scarcity of ct and gt indications observed in the TCGA-BLCA cohort, as opposed to nct.</title>
                        <p>(A) Boxplots show the patient-based distributions of cancer type specificity labels (ct, gt, nct) reported by CIViCutils per type of genomic alteration, before and after removing tier 3 variants. Each data point (only outliers illustrated) represents the percentage of occurrences of a given disease specificity observed in one bladder cancer sample. (B) Pie charts depict the distributions of disease specificities assigned by the package throughout the TCGA-BLCA cohort, evaluated separately for SNVs and CNVs, before and after tier 3 matches were excluded. The illustrated proportions were derived from the aggregation of sample-based disease counts for every specificity label across the cohort. Abbr.: SNV, single nucleotide variant; CNV, copy number variant.</p>
                    </caption>
                    <graphic id="gr3" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/150133/c9666179-e982-4c47-af9a-27bd88f6e8e6_figure3.gif"/>
                </fig>
                <p>Additionally, we analyzed the overall portion of cancer indications retrieved throughout the entire TCGA-BLCA cohort per type of disease specificity and molecular aberration. 
                    <xref ref-type="fig" rid="f3">Figure 3B</xref> shows for each disease specificity category the fraction of associated matches, computed per patient and aggregated across the cohort. Thus, the underlying absolute values are per category the total number of occurrences in the cohort. The vast majority of cancers retrieved by CIViCutils were labeled as nct, both in the SNV (95.4%, n=5,521) and CNV (95%, n=11,311) datasets, contrary to the remaining two categories, which overall were seldom reported and showed equivalent percentages for both types of alterations. Roughly 4% of the SNV-based (n=211) and 3% of the CNV-based (n=332) indications were annotated as ct, followed by gt, accounting for 1% (n=53) and 2% (n=266) of the extracted disease names, respectively. 
                    <xref ref-type="fig" rid="f3">Figure 3A</xref> and 
                    <xref ref-type="fig" rid="f3">3B</xref> also report the percentages after removing tier 3 variants, to investigate the effect of excluding non-exact matches from the set of variants. Excluding tier 3 records has little effect on the overall results, except that for SNVs no longer the gt category can be observed.</p>
            </sec>
            <sec id="sec9">
                <title>Consensus drug response predictions</title>
                <p>CIViCutils generates consensus drug response predictions for variants matched to CIViC records with predictive evidence, taking into account disease specificity information. 
                    <xref ref-type="fig" rid="f4">Figure 4A</xref> shows per sample the number of variants with at least one consensus prediction. On average, treatment response information was reported for 75% of the SNVs and 50% of the CNVs. The percentage of genomic alterations linked to treatment predictions increased when excluding non-exact (tier 3) matches, and is then comparable between SNVs and CNVs (on average 85% and 93%, respectively).</p>
                <fig fig-type="figure" id="f4" orientation="portrait" position="float">
                    <label>Figure 4. </label>
                    <caption>
                        <title>Distributions of SNVs and CNVs associated with consensus drug predictions.</title>
                        <p>(A) Boxplots illustrate the percentage of variants with drug response predictions across the cohort, before and after tier 3 matches were excluded. (B) Boxplots depict the fractions of unique therapies reported for every sample, classified by their sample-level drug response derived from all the consensus predictions available in each case (&#x201c;ALL-SUPPORT&#x201d;, &#x201c;ALL-RESISTANCE&#x201d;, &#x201c;ALL-CONFLICT&#x201d;, &#x201c;ALL-UNKNOWN&#x201d;, &#x201c;MIXED&#x201d;). Every data point (only outliers shown) represents the fraction of treatments observed in one patient in the respective response category. Abbr.: SNV, single nucleotide variant; CNV, copy number variant.</p>
                    </caption>
                    <graphic id="gr4" orientation="portrait" position="float" xlink:href="https://f1000research-files.f1000.com/manuscripts/150133/c9666179-e982-4c47-af9a-27bd88f6e8e6_figure4.gif"/>
                </fig>
                <p>Figure S5 (see 
                    <italic toggle="yes">Extended data</italic>, section 5
                    <sup>
                        <xref ref-type="bibr" rid="ref10">9</xref>
                    </sup>) shows the mean number of response predictions available per variant. On average four entries were available per SNV and three entries per CNV. Per sample and treatment, different consensus prediction categories can be assigned: &#x201c;ALL-SUPPORT&#x201d;, &#x201c;ALL-RESISTANCE&#x201d;, &#x201c;ALL-CONFLICT&#x201d;, &#x201c;ALL-UNKNOWN&#x201d; and &#x201c;MIXED&#x201d;. In the first four categories, the treatment was consistently associated with the same drug-level prediction (e.g. &#x201c;SUPPORT&#x201d; for &#x201c;ALL-SUPPORT&#x201d;) across all the evidence records and variants observed in a sample. In the case of treatments classified as &#x201c;MIXED&#x201d;, different responses were reported for the same therapy and patient depending on the particular variant being evaluated. As shown in 
                    <xref ref-type="fig" rid="f4">Figure 4B</xref>, the most prevalent responses assigned across TCGA-BLCA patients were &#x201c;ALL-SUPPORT&#x201d; (64%) and &#x201c;ALL-RESISTANCE&#x201d; (23%), which together accounted for over 87% of the therapies predicted on average per tumor. The high number of supporting evidence records goes in line with a known reporting bias for positive experiment results, including positive associations with treatment response.
                    <sup>
                        <xref ref-type="bibr" rid="ref3">3</xref>
                    </sup>
                    <sup>,</sup>
                    <sup>
                        <xref ref-type="bibr" rid="ref11">10</xref>
                    </sup> Importantly, divergent and non-informative response predictions were only rarely reported. Category &#x201c;ALL-UNKNOWN&#x201d; was on average annotated for only 6% and 8% of the SNV-based and CNV-based drugs, respectively, followed by &#x201c;MIXED&#x201d; therapies, where the mean fractions observed per patient were of 1% for the SNVs and 5% for the CNVs. Only 1% of the annotated therapies were assigned an &#x201c;ALL-CONFLICT&#x201d; prediction. These observations are similar when excluding non-exact (i.e., tier 3) variant matches. We refer to the Extended data (section 5) for details on the prediction types observed for individual variants.
                    <sup>
                        <xref ref-type="bibr" rid="ref10">9</xref>
                    </sup>
                </p>
            </sec>
        </sec>
        <sec id="sec10" sec-type="conclusions">
            <title>Conclusions</title>
            <p>To allow comprehensive tumor profiling as a personalized strategy for supporting clinical decision-making in precision oncology short analysis turn-around times and simplified interpretation of the actionable molecular aberrations observed in cancer patients is required. In this context, well-curated knowledgebases such as CIViC, which link aberrations to their potential effect on prognosis and treatment response, are of high importance. Here, we introduced CIViCutils, a user-friendly and open-source Python package for the automated enrichment of tumor aberrations with CIViC information. Our package facilitates the extraction, analysis, and interpretation of expert-reviewed clinical data from the CIViC database. CIViCutils can be easily integrated into clinical workflows for comprehensive tumor profiling and it supports as input genomic aberrations (single nucleotide and insertion-deletion variants, and copy number alterations) as well as gene expression data. The package has been already employed in existing clinical analyses workflows, where it provided real-world clinical decision support.
                <sup>
                    <xref ref-type="bibr" rid="ref5">5</xref>
                </sup>
                <sup>&#x2013;</sup>
                <sup>
                    <xref ref-type="bibr" rid="ref7">7</xref>
                </sup> We foresee continuous package development for additional applications, such as extending the package to support queries from other variant-level clinical databases (e.g. OncoKB
                <sup>
                    <xref ref-type="bibr" rid="ref12">11</xref>
                </sup> or ClinVar
                <sup>
                    <xref ref-type="bibr" rid="ref13">12</xref>
                </sup>).</p>
            <p>In our use case example on analyzing actionable aberrations detected in 412 tumor samples from the TCGA-BLCA study, we show that CIViCutils could retrieve CIViC information for 21% and 74% of the actionable SNVs and CNVs, respectively. While for those records typically a wealth of clinically relevant information is available, this proportion also shows the current general limitation of relying on highly-curated knowledgebases: such high quality and expert curated information is typically not available for thousands of variants but only a subset. Nevertheless, the databases are constantly growing, leading to more frequent hits in the future. Moreover, having reliable information even for a fraction of hits greatly aids the interpretation and reduces the overall burden of prioritizing the clinically relevant results.</p>
            <p>We highlight that using CIViCutils in the future to annotate the WES data from the TCGA-BLCA cohort would likely deliver different results than those described in our study, due to the ever-growing research literature and ongoing manual curation efforts in CIViC. Thus, the success of our package is heavily reliant on such resources becoming extended and more curated over time, with the ultimate goal of overcoming the current challenges of variant interpretation in cancer.</p>
        </sec>
    </body>
    <back>
        <sec id="sec14" sec-type="data-availability">
            <title>Data availability</title>
            <sec id="sec15">
                <title>Underlying data</title>
                <p>The original data of the TCGA-BLCA study that is utilized for the use case example in this manuscript is available upon request, details are provided at db GaP: 
                    <ext-link ext-link-type="uri" xlink:href="https://dbgap.ncbi.nlm.nih.gov/aa/wga.cgi?page=login">https://dbgap.ncbi.nlm.nih.gov/aa/wga.cgi?page=login</ext-link>
                </p>
            </sec>
            <sec id="sec16">
                <title>Extended data</title>
                <p>Zenodo: Extended data for &#x2018;CIViCutils: Matching and downstream processing of clinical annotations from CIViC&#x2019;, &#x2018;CIViCutils_Extended_Data&#x2019;, 
                    <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.7990876">https://doi.org/10.5281/zenodo.7990876</ext-link>.
                    <sup>

                        <xref ref-type="bibr" rid="ref10">9</xref>
</sup>
                </p>
                <p>This project contains the following extended data:
                    <list list-type="bullet">
                        <list-item>
                            <label>-</label>
                            <p>2023-05-31_CIViCutils_extended_data.pdf (contains supplementary figures and results for the example use case).</p>
                        </list-item>
                    </list>
                </p>
                <p>Data are available under the terms of the 
                    <ext-link ext-link-type="uri" xlink:href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International license</ext-link> (CC-BY 4.0)</p>
            </sec>
        </sec>
        <sec id="sec11">
            <title>Software availability</title>
            <p>Software available from: 
                <ext-link ext-link-type="uri" xlink:href="https://pypi.org/project/civicutils/">https://pypi.org/project/civicutils/</ext-link>
            </p>
            <p>Source code available from: 
                <ext-link ext-link-type="uri" xlink:href="https://github.com/ETH-NEXUS/civicutils">https://github.com/ETH-NEXUS/civicutils</ext-link>
            </p>
            <p>Archived source code at time of publication: 
                <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5281/zenodo.8054966">https://doi.org/10.5281/zenodo.8054966</ext-link>

                <sup>

                    <xref ref-type="bibr" rid="ref9">13</xref>
</sup>
            </p>
            <p>License: 
                <ext-link ext-link-type="uri" xlink:href="http://www.gnu.org/licenses/gpl-3.0">GNU General Public License 3.0</ext-link>
            </p>
        </sec>
        <ack>
            <title>Acknowledgements</title>
            <p>The authors want to acknowledge Roland Seiler and Friedemann Krentel for feedback on relevant features of the CIViCutils package, as well as Matteo Carrara and Anne Bertolini for their support during the testing of parts of the package features.</p>
        </ack>
        <ref-list>
            <title>References</title>
            <ref id="ref1">
                <label>1</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Mateo</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Steuten</surname>
                            <given-names>L</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Aftimos</surname>
                            <given-names>P</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Delivering precision oncology to patients with cancer.</article-title>
                    <source>

                        <italic toggle="yes">Nat. Med.</italic>
</source>
                    <year>2022 Apr</year>;<volume>28</volume>(<issue>4</issue>):<fpage>658</fpage>&#x2013;<lpage>665</lpage>.
                    <pub-id pub-id-type="doi">10.1038/s41591-022-01717-2</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref2">
                <label>2</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Brown</surname>
                            <given-names>NA</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Elenitoba-Johnson</surname>
                            <given-names>KSJ</given-names>
                        </name>
</person-group>:
                    <article-title>Enabling Precision Oncology Through Precision Diagnostics.</article-title>
                    <source>

                        <italic toggle="yes">Annu. Rev. Pathol.</italic>
</source>
                    <year>2020 Jan 24</year>;<volume>15</volume>(<issue>15</issue>):<fpage>97</fpage>&#x2013;<lpage>121</lpage>.
                    <pub-id pub-id-type="doi">10.1146/annurev-pathmechdis-012418-012735</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref3">
                <label>3</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Griffith</surname>
                            <given-names>M</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Spies</surname>
                            <given-names>NC</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Krysiak</surname>
                            <given-names>K</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>CIViC is a community knowledgebase for expert crowdsourcing the clinical interpretation of variants in cancer.</article-title>
                    <source>

                        <italic toggle="yes">Nat. Genet.</italic>
</source>
                    <year>2017 Jan 31</year>;<volume>49</volume>(<issue>2</issue>):<fpage>170</fpage>&#x2013;<lpage>174</lpage>.
                    <pub-id pub-id-type="pmid">28138153</pub-id>
                    <pub-id pub-id-type="doi">10.1038/ng.3774</pub-id>
                    <pub-id pub-id-type="pmcid">PMC5367263</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref4">
                <label>4</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Wagner</surname>
                            <given-names>AH</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Kiwala</surname>
                            <given-names>S</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Coffman</surname>
                            <given-names>AC</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>CIViCpy: A Python Software Development and Analysis Toolkit for the CIViC Knowledgebase.</article-title>
                    <source>

                        <italic toggle="yes">JCO Clin. Cancer Inform.</italic>
</source>
                    <year>2020 Mar</year>;<volume>4</volume>:<fpage>245</fpage>&#x2013;<lpage>253</lpage>.
                    <pub-id pub-id-type="pmid">32191543</pub-id>
                    <pub-id pub-id-type="doi">10.1200/CCI.19.00127</pub-id>
                    <pub-id pub-id-type="pmcid">PMC7113080</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref5">
                <label>5</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Irmisch</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Bonilla</surname>
                            <given-names>X</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Chevrier</surname>
                            <given-names>S</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>The Tumor Profiler Study: integrated, multi-omic, functional tumor profiling for clinical decision support.</article-title>
                    <source>

                        <italic toggle="yes">Cancer Cell.</italic>
</source>
                    <year>2021 Mar 8</year>;<volume>39</volume>(<issue>3</issue>):<fpage>288</fpage>&#x2013;<lpage>293</lpage>.
                    <pub-id pub-id-type="pmid">33482122</pub-id>
                    <pub-id pub-id-type="doi">10.1016/j.ccell.2021.01.004</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref6">
                <label>6</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Krentel</surname>
                            <given-names>F</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Singer</surname>
                            <given-names>F</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Rosano-Gonzalez</surname>
                            <given-names>ML</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>A showcase study on personalized in silico drug response prediction based on the genetic landscape of muscle invasive bladder cancer.</article-title>
                    <source>

                        <italic toggle="yes">Sci. Rep.</italic>
</source>
                    <year>2021 Mar 12</year>;<volume>11</volume>(<issue>1</issue>):<fpage>5849</fpage>.
                    <pub-id pub-id-type="pmid">33712636</pub-id>
                    <pub-id pub-id-type="doi">10.1038/s41598-021-85151-3</pub-id>
                    <pub-id pub-id-type="pmcid">PMC7955125</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref7">
                <label>7</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Bertolini</surname>
                            <given-names>A</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Prummer</surname>
                            <given-names>M</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Tuncel</surname>
                            <given-names>MA</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>scAmpi-A versatile pipeline for single-cell RNA-seq analysis from basics to clinics.</article-title>
                    <source>

                        <italic toggle="yes">PLoS Comput. Biol.</italic>
</source>
                    <year>2022 Jun</year>;<volume>18</volume>(<issue>6</issue>):<fpage>e1010097</fpage>.
                    <pub-id pub-id-type="pmid">35658001</pub-id>
                    <pub-id pub-id-type="doi">10.1371/journal.pcbi.1010097</pub-id>
                    <pub-id pub-id-type="pmcid">PMC9200350</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref8">
                <label>8</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Robertson</surname>
                            <given-names>AG</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Kim</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Al-Ahmadie</surname>
                            <given-names>H</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>Comprehensive Molecular Characterization of Muscle-Invasive Bladder Cancer.</article-title>
                    <source>

                        <italic toggle="yes">Cell.</italic>
</source>
                    <year>2017 Oct 19</year>;<volume>171</volume>(<issue>3</issue>):<fpage>540</fpage>&#x2013;<lpage>56.e25</lpage>.
                    <pub-id pub-id-type="pmid">28988769</pub-id>
                    <pub-id pub-id-type="doi">10.1016/j.cell.2017.09.007</pub-id>
                    <pub-id pub-id-type="pmcid">PMC5687509</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref10">
                <label>9</label>
                <mixed-citation publication-type="data">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Rosano-Gonzalez</surname>
                            <given-names>ML</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Sreedharan</surname>
                            <given-names>VT</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Hanns</surname>
                            <given-names>A</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <data-title>CIViCutils extended data.</data-title>[Dataset].
                    <source>

                        <italic toggle="yes">Zenodo.</italic>
</source>
                    <year>2023</year>.
                    <pub-id pub-id-type="doi">10.5281/zenodo.7990876</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref11">
                <label>10</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Fanelli</surname>
                            <given-names>D</given-names>
                        </name>
</person-group>:
                    <article-title>Negative results are disappearing from most disciplines and countries.</article-title>
                    <source>

                        <italic toggle="yes">Scientometrics.</italic>
</source>
                    <year>2012 Mar</year>;<volume>90</volume>(<issue>3</issue>):<fpage>891</fpage>&#x2013;<lpage>904</lpage>.
                    <pub-id pub-id-type="doi">10.1007/s11192-011-0494-7</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref12">
                <label>11</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Chakravarty</surname>
                            <given-names>D</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Gao</surname>
                            <given-names>J</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Phillips</surname>
                            <given-names>SM</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>OncoKB: A Precision Oncology Knowledge Base.</article-title>
                    <source>

                        <italic toggle="yes">JCO Precis. Oncol.</italic>
</source>
                    <year>2017 Jul</year>;<volume>2017</volume>:<fpage>1</fpage>&#x2013;<lpage>16</lpage>.
                    <pub-id pub-id-type="pmid">28890946</pub-id>
                    <pub-id pub-id-type="doi">10.1200/PO.17.00011</pub-id>
                    <pub-id pub-id-type="pmcid">PMC5586540</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref13">
                <label>12</label>
                <mixed-citation publication-type="journal">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Landrum</surname>
                            <given-names>MJ</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Lee</surname>
                            <given-names>JM</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Benson</surname>
                            <given-names>M</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>ClinVar: improving access to variant interpretations and supporting evidence.</article-title>
                    <source>

                        <italic toggle="yes">Nucleic Acids Res.</italic>
</source>
                    <year>2018 Jan 4</year>;<volume>46</volume>(<issue>D1</issue>):<fpage>D1062</fpage>&#x2013;<lpage>D1067</lpage>.
                    <pub-id pub-id-type="pmid">29165669</pub-id>
                    <pub-id pub-id-type="doi">10.1093/nar/gkx1153</pub-id>
                    <pub-id pub-id-type="pmcid">PMC5753237</pub-id>
                </mixed-citation>
            </ref>
            <ref id="ref9">
                <label>13</label>
                <mixed-citation publication-type="other">
                    <person-group person-group-type="author">

                        <name name-style="western">
                            <surname>Rosano-Gonzalez</surname>
                            <given-names>ML</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Sreedharan</surname>
                            <given-names>VT</given-names>
                        </name>

                        <name name-style="western">
                            <surname>Hanns</surname>
                            <given-names>A</given-names>
                        </name>

                        <etal/>
</person-group>:
                    <article-title>CIViCutils archived source code.</article-title>
                    <source>

                        <italic toggle="yes">Zenodo. [Software].</italic>
</source>
                    <year>2023</year>.
                    <pub-id pub-id-type="doi">10.5281/zenodo.8054966</pub-id>
                </mixed-citation>
            </ref>
        </ref-list>
    </back>
    <sub-article article-type="reviewer-report" id="report265165">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.150133.r265165</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Punta</surname>
                        <given-names>Marco</given-names>
                    </name>
                    <xref ref-type="aff" rid="r265165a1">1</xref>
                    <role>Referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-0050-0676</uri>
                </contrib>
                <contrib contrib-type="author">
                    <name>
                        <surname>Maurizio</surname>
                        <given-names>Aurora</given-names>
                    </name>
                    <xref ref-type="aff" rid="r265165a1">1</xref>
                    <role>Co-referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-7194-4637</uri>
                </contrib>
                <aff id="r265165a1">
                    <label>1</label>IRCCS San Raffaele Hospital, Milan, Italy</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>24</day>
                <month>5</month>
                <year>2024</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2024 Punta M and Maurizio A</copyright-statement>
                <copyright-year>2024</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport265165" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.136986.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve-with-reservations</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>The manuscript &#x201c;CIViCutils: Matching and downstream processing of clinical annotations from CIViC&#x201d; by Rosano-Gonzalez et al. is generally well written and addresses an important topic in helping extracting relevant information from the Clinical Interpretation of Variants in Cancer (CIViC) knowledge base.</p>
            <p> </p>
            <p> CIViCutils is a user-friendly Python package created to navigate the CIViC database.</p>
            <p> CIViC database can be queried in several ways. &#x00a0;The online platform is a convenient method for individual queries, but scalability issues arise when processing vast amounts of data. The API solution, on the other hand, allows users to access the data programmatically but its usage is not straightforward. This highlights the necessity for rigorous and documented "scriptable" procedures to retrieve and prioritize information reported in the CIViC database to make the most of the vast amount of information collected through the ongoing Civic collaborative effort.</p>
            <p> </p>
            <p> The CIViCutils open-source package is well-documented, easy to install, and its functions can be integrated into bigger pipelines and workflows, to streamline tumor sample characterization.&#x00a0;</p>
            <p> </p>
            <p> Despite not being the first Python package developed to query CIViC data, CivicUtils is an automated tool that takes advantage of CIViCpy, complementing its capabilities. It facilitates the access, readability, and interpretation of the plethora of information contained in the Civic valuable resource, allowing a higher level of flexibility in the query systems compared to the other available methods. This would hopefully broaden the range of users, fostering a deeper understanding of the tumor mutational landscape.</p>
            <p> </p>
            <p> My main concern about the paper is that while this is a tool that is meant to facilitate the evaluation of actionable molecular alterations in cancer samples, the use case presented in the manuscript is a general overview of annotated hits retrieved by CIViCutils when querying it with a large set of bladder cancer somatic alterations. This is interesting, however, in my view it does not help understanding how relevant or even correct are the indications that CIViCutils may produce. In that respect it would be important, I believe, to show results for a few specific somatic alterations for which actionability is known and/or some for which there&#x2019;s no consensus at to actionability. Although I understand this can be done only on a few selected examples, I think it would help readers getting a better understanding of what the method can deliver.</p>
            <p> </p>
            <p> </p>
            <p> Minor:</p>
            <p> </p>
            <p> Page 4. &#x201c;input aberrations provided by the user&#x201d; I would change it into &#x201c;input alterations provided by the user&#x201d;</p>
            <p> </p>
            <p> Page 5. Table 1. BRAF:p.Val600Glu is reported as a perfect match in CIViC simply as V600E? Shouldn&#x2019;t it be BRAF:V600E. This is similar for all other entries in the Table. Shouldn&#x2019;t a perfect match include gene along with aa position andu aa change?</p>
            <p> </p>
            <p> Page 6. It&#x2019;s not entirely clear to me what the difference is between the &#x201c;gt&#x201d; and the &#x201c;nct&#x201d; categories. Is this for example &#x201c;NSC lung cancer&#x201d; vs simply &#x201c;lung cancer&#x201d;? Could you please provide an example?</p>
            <p> </p>
            <p> Page 6. I was a bit confused by the consensus classification of drug response predictions for individual somatic aberrations. CIViCutils assigns to every drug-variant interaction record a term (&#x201c;POSITIVE&#x201d;, &#x201c;NEGATIVE&#x201d;, &#x201c;UNKNOWN&#x201d;) but what is the exact meaning of these terms? When creating a consensus among different records for the same drug-variant interaction, CIViCutils assigns the term &#x201c;RESISTANCE&#x201d; to cases that have a majority of &#x201d;NEGATIVE&#x201d; records. So, is the term &#x201c;NEGATIVE&#x201d; for individual records equivalent to &#x201c;RESISTANCE&#x201d; or, if not, what other description would end up into the &#x201c;NEGATIVE&#x201d; category? Also, is it really correct (or the most useful thing to do) to classify as &#x201c;SUPPORT&#x201d; a variant with respect to a specific drug when there is potentially conflicting evidence as to its role? From the manuscript: &#x201c;SUPPORT (overall evidence is considered positive)&#x201d;; this, following the definition of &#x201c;RESISTANCE&#x201d;, supposedly means &#x201c;majority is POSITIVE&#x201d;, implying that there could also be &#x201c;NEGATIVE&#x201d; records for this variant-drug pair. Please clarify.</p>
            <p> </p>
            <p> Page 8. You report two different percentages for tier1b annotations, 46% and 47%. Please check.</p>
            <p> </p>
            <p> Page 8. Figure 3B. I find it interesting that the percentage of &#x201c;ct&#x201d; is more or less the same when considering all tiers and when considering only tier1, 1b and 2. &#x00a0;I would have expected to have a higher percentage of &#x201c;ct&#x201d; in tier 1, 1b and 2. Could you please comment on this?</p>
            <p>Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?</p>
            <p>Partly</p>
            <p>Is the rationale for developing the new software tool clearly explained?</p>
            <p>Yes</p>
            <p>Is the description of the software tool technically sound?</p>
            <p>Yes</p>
            <p>Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?</p>
            <p>Yes</p>
            <p>Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?</p>
            <p>Yes</p>
            <p>Reviewer Expertise:</p>
            <p>Cancer Immunogenomics, Cancer Genomics</p>
            <p>We confirm that we have read this submission and believe that we have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however we have significant reservations, as outlined above.</p>
        </body>
    </sub-article>
    <sub-article article-type="reviewer-report" id="report225767">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.150133.r225767</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Griffith</surname>
                        <given-names>Obi L.</given-names>
                    </name>
                    <xref ref-type="aff" rid="r225767a1">1</xref>
                    <role>Referee</role>
                </contrib>
                <aff id="r225767a1">
                    <label>1</label>McDonnell Genome Institute, Washington University School of Medicine, St. Louis, MO, USA</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>I don't know if it is a competing interest but it should be disclosed that I am a co-founder and principal investigator of the CIViC project for which this paper describes a supporting tool. I did not have any interactions with the authors/creators of the CIViCutils package. But, in some senses we benefit from its development and existence as a supporting tool which could increase the use and impact of CIViC. Therefore I wanted to disclose that potential conflict in my review.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>20</day>
                <month>5</month>
                <year>2024</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2024 Griffith OL</copyright-statement>
                <copyright-year>2024</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport225767" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.136986.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve-with-reservations</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>The authors present a new tool, CIViCutils, which supports flexible and comprehensive mapping of a range of variant types to records from the CIViC knowledgebase. The tools leverages the CIViCpy package, which itself accesses the CIViC API. This is a sensible approach because it will give access to the most current state of CIViC knowledge. Their tool is also implemented as a python package, with open source code in a github repository under a permissive license (GNU GPL3), which is a strength. This tools fills a real need. Because CIViC has a flexible data model supporting a broad range of variant types, matching the interpretations for these variants to those observed in patients is a technical challenge. This tool allows multiple levels of precise and fuzzy matching, filtering to exclude un-reviewed records, and summarizing, including one-to-many results which are all appropriate.&#x00a0; I have a few major and several minor suggestions.</p>
            <p> </p>
            <p> Major:</p>
            <p> The paper describes linking variants to therapeutic, prognostic, predisposing and diagnostic CIViC knowledge. More recently, CIViC has also added support for oncogenic and functional variant evidence. Does CIViCutils support these as well? If not this should at least be acknowledged in the paper (perhaps as an area of future development).&#x00a0;</p>
            <p> </p>
            <p> I was very confused by the explanation of how consensus drug response prediction was calculated. It is stated that CIViCutils reports the drug response prediction with the highest number of occurrences across all records for the therapy, cancer type, and molecular alteration. Consensus is categorized as&#x00a0;&#x201c;SUPPORT&#x201d; (overall the evidence is considered &#x201c;POSITIVE&#x201d;), &#x201c;RESISTANCE&#x201d; (majority is &#x201c;NEGATIVE&#x201d;), &#x201c;CONFLICT&#x201d; (unresolved cases with contradicting information) and &#x201c;UNKNOWN&#x201d; (prevailing category is &#x201c;UNKNOWN&#x201d;, i.e. the predictive value is not known). The above scheme is hard to understand. CIViC provides significance for therapeutic ("predictive") evidence primarily as sensitive or resistant (and less commonly adverse response, reduced sensitivity or N/A). Evidence either supports of does not support these clinical significances. I would think that the CIViCutils categories for drug response would be "POSITIVE - most evidence supports sensitivity", "NEGATIVE - most evidence supports resistance", etc. The text explaining these categories should be revisited.&#x00a0;</p>
            <p> </p>
            <p> In the TCGA-BLCA analysis, in several places it refers to "actionable SNVs and CNVs". This seems to refer to some smaller/specific subset of somatic variants reported from the TCGA-BLCA data. But, I could not find where this was explained/defined.&#x00a0;</p>
            <p> </p>
            <p> It was not clear what was the significance of results summarized in the last paragraph of results. Some patients would be expected to have both sensitive and resistant variants for different drugs. The more we learn about molecular features of drug response the more this will be true. There probably is a bias towards positive (sensitivity) associations. But, it would seem more interesting to summarize how often there were conflicting predictions within variant/gene or something than within the whole patient variant set.&#x00a0;</p>
            <p> </p>
            <p> While the TCGA-BLCA use case is interesting and shows scalability of the tool and general features of its mapping ability, it would strengthen the paper to also include one or two individual patient use cases. This would seem to be one of the core use cases of the CIViCutils tool, rather than summarizing across cohorts.&#x00a0;</p>
            <p> </p>
            <p> Minor:</p>
            <p> </p>
            <p> p3. Rework this awkward phrasing "e.g. in case generally the variants affecting a particular gene are in the focus."&#x00a0;</p>
            <p> </p>
            <p> Table 1. Suggest to include the Gene in last column (Example matches from CIViC) to make explicit that gene-level variants are being matched to gene-specific variant interpretation in the knowledgebase.&#x00a0;</p>
            <p> </p>
            <p> Provide specifics for how some of the fuzzy/categorical matches are being made. For example, in Table 1 there is an example of CTNNB1:p.Ser60Phe being matched to (CTNNB1) EXON 3 MUTATION. How is this being determined. Is this based on first matching the reference transcript of the source mutation against the representative reference transcript recorded in CIViC for this variant to ensure you are matching the same Exon 3?</p>
            <p> </p>
            <p> Figure 2 - rather than show total number of patients, the number alterations should be summarized since I think this is what the percentages in the pie charts are relative to.</p>
            <p>Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?</p>
            <p>Yes</p>
            <p>Is the rationale for developing the new software tool clearly explained?</p>
            <p>Yes</p>
            <p>Is the description of the software tool technically sound?</p>
            <p>Yes</p>
            <p>Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?</p>
            <p>Yes</p>
            <p>Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?</p>
            <p>Yes</p>
            <p>Reviewer Expertise:</p>
            <p>Cancer genomics, bioinformatics, databases and variant interpretation, CIViC knowledgebase co-creator.</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above.</p>
        </body>
    </sub-article>
    <sub-article article-type="reviewer-report" id="report265160">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.150133.r265160</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Hosseini</surname>
                        <given-names>Sayed-Rzgar</given-names>
                    </name>
                    <xref ref-type="aff" rid="r265160a1">1</xref>
                    <role>Referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-2308-6754</uri>
                </contrib>
                <aff id="r265160a1">
                    <label>1</label>The University of Texas Health Science Center at Houston, Houston, USA</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>9</day>
                <month>5</month>
                <year>2024</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2024 Hosseini SR</copyright-statement>
                <copyright-year>2024</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport265160" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.136986.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve-with-reservations</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>In this well-organized and clearly written manuscript, Rosano-Gonzalez et al. have introduced CIViCutils, which is an open-source Python package facilitating the analysis and interpretation of CIViC information. This tool is intended to address the major limitations of the previously developed CIViCpy Python package, and the authors have showcased the functionality of CIViCutils using WES variant calling data derived from the muscle-invasive bladder cancer cohort of The Cancer Genome Atlas (TCGA-BLCA).</p>
            <p> </p>
            <p> I only have a minor comment for the authors. I am a bit concerned about the concept of &#x201c;consensus drug responses&#x201d; proposed in this study. I believe that building such a consensus is not in line with the overall goal of precision medicine as it neglects the heterogeneity of patient population within the same cancer type/subtype in terms of drug response. Can the authors propose alternative strategies to overcome the limitations of the &#x201c;consensus drug responses&#x201d;? It would be great, if the authors can discuss this important issue in detail at least in the conclusion section of the manuscript.</p>
            <p>Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?</p>
            <p>Yes</p>
            <p>Is the rationale for developing the new software tool clearly explained?</p>
            <p>Yes</p>
            <p>Is the description of the software tool technically sound?</p>
            <p>Yes</p>
            <p>Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?</p>
            <p>Yes</p>
            <p>Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?</p>
            <p>Yes</p>
            <p>Reviewer Expertise:</p>
            <p>Precision Oncology</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above.</p>
        </body>
    </sub-article>
    <sub-article article-type="reviewer-report" id="report265158">
        <front-stub>
            <article-id pub-id-type="doi">10.5256/f1000research.150133.r265158</article-id>
            <title-group>
                <article-title>Reviewer response for version 1</article-title>
            </title-group>
            <contrib-group>
                <contrib contrib-type="author">
                    <name>
                        <surname>Joshi</surname>
                        <given-names>Kandarp</given-names>
                    </name>
                    <xref ref-type="aff" rid="r265158a1">1</xref>
                    <role>Referee</role>
                    <uri content-type="orcid">https://orcid.org/0000-0002-2153-0110</uri>
                </contrib>
                <aff id="r265158a1">
                    <label>1</label>Kyoto University, Kyoto, Japan</aff>
            </contrib-group>
            <author-notes>
                <fn fn-type="conflict">
                    <p>
                        <bold>Competing interests: </bold>No competing interests were disclosed.</p>
                </fn>
            </author-notes>
            <pub-date pub-type="epub">
                <day>6</day>
                <month>5</month>
                <year>2024</year>
            </pub-date>
            <permissions>
                <copyright-statement>Copyright: &#x00a9; 2024 Joshi K</copyright-statement>
                <copyright-year>2024</copyright-year>
                <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
                    <license-p>This is an open access peer review report distributed under the terms of the Creative Commons Attribution Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.</license-p>
                </license>
            </permissions>
            <related-article ext-link-type="doi" id="relatedArticleReport265158" related-article-type="peer-reviewed-article" xlink:href="10.12688/f1000research.136986.1"/>
            <custom-meta-group>
                <custom-meta>
                    <meta-name>recommendation</meta-name>
                    <meta-value>approve-with-reservations</meta-value>
                </custom-meta>
            </custom-meta-group>
        </front-stub>
        <body>
            <p>Rosano-Gonzalez et al. report a data retrieval tool with added features on annotations that can aid in interpretation of variants. The tool is based on retrieval by CIViCpy and additional algorithm to prioritize variants and assemble information. The tool is described well and use case is explained in detail. There are few minor comments to the authors.&#x00a0;</p>
            <p> </p>
            <p> 1. Is the query for each feature (variant/CNV) done separately and if so how much time is required per query? Is there a limit on the number of queries that can be made to the server? These details will be helpful for the users.</p>
            <p> 2. In the use case, authors have reported number of subjects within different tiers. It would be helpful to know the application of the tool to individual samples by knowing the number of samples with just tier1, missing tier1, missing tier1&amp;2 annotations. This will inform specificity and how tool behaves when applied to an individual sample.</p>
            <p>Are the conclusions about the tool and its performance adequately supported by the findings presented in the article?</p>
            <p>Yes</p>
            <p>Is the rationale for developing the new software tool clearly explained?</p>
            <p>Yes</p>
            <p>Is the description of the software tool technically sound?</p>
            <p>Yes</p>
            <p>Are sufficient details of the code, methods and analysis (if applicable) provided to allow replication of the software development and its use by others?</p>
            <p>Yes</p>
            <p>Is sufficient information provided to allow interpretation of the expected output datasets and any results generated using the tool?</p>
            <p>Yes</p>
            <p>Reviewer Expertise:</p>
            <p>Bioinformatics, clinical genomics</p>
            <p>I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above.</p>
        </body>
    </sub-article>
</article>
