<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>Dubna, Russia, June</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <title-group>
        <article-title>SYSTEM FOR STORING AND ANALYZING EXPERIMENTAL MRI/fMRI DATA ON THE HYBRILIT HETEROGENEOUS PLATFORM</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>M.I. Zuev</string-name>
          <email>zuevmax@jinr.ru</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>I.M. Enyagina</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="editor">
          <string-name>Maxim Zuev, Irina Enyagina</string-name>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Joint Institute for Nuclear Research</institution>
          ,
          <addr-line>6 Joliot-Curie st., Dubna, Moscow Region, 141980</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>NRC “Kurchatov Institute”</institution>
          ,
          <addr-line>1 Akademika Kurchatova pl., Moscow, 123182</addr-line>
          ,
          <country country="RU">Russia</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2020</year>
      </pub-date>
      <volume>18</volume>
      <issue>2020</issue>
      <fpage>48</fpage>
      <lpage>52</lpage>
      <abstract>
        <p>The article presents the first results on the development of an information system on the HybriLIT heterogeneous platform for storing and analyzing data of magnetic resonance imaging (MRI) and functional magnetic resonance imaging (fMRI). The major objective of the given information system is to create a storage for MRI/fMRI data, as well as to automate the processes of its processing and analysis with the possibility of subsequent visualization of the results. To date, a system module for working with MRI/fMRI of the human brain has been developed and is ready for use, and this article describes its architecture. The module will be used, in particular, for organizing practical classes within the training course on neuroimaging. When deploying the corresponding specialized software, the module can also be used to process and analyze MRI/fMRI data of the brain of monkeys, mice and other laboratory animals. The work is performed within collaboration between the Laboratory of Radiation Biology and the Laboratory of Information Technologies at JINR.</p>
      </abstract>
      <kwd-group>
        <kwd>scientific data analysis</kwd>
        <kwd>MRI</kwd>
        <kwd>fMRI</kwd>
        <kwd>neuroimaging</kwd>
        <kwd>information system</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        At present, MRI and fMRI are considered the most effective methods of
neuroimaging [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The modern equipment allows conducting non-invasive experiments of
these types for both humans and laboratory animals (monkeys, mice, etc.). The discovery of
these methods has provided new opportunities for neurobiologists. In particular, the use of
MRI/fMRI methods enables long-term research of the brain, human or laboratory animals.
Thus, the task of mastering the skills of performing MRI/fMRI experiments and analyzing the
data is actual for the Laboratory of Radiation Biology. For this reason, the Laboratory of
Information Technologies has started working on the creation of a system for processing,
analyzing, storing and visualizing experimental MRI/fMRI data on the HybriLIT
heterogeneous platform [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Due to the similarity of data processing procedures of MRI/fMRI
of the brain of a human and laboratory animals, the model of the workflow of MRI/fMRI data
of the human brain [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] has been taken as a basis. At this stage, the system allows processing
MRI/fMRI data of the human brain using the specialized software FreeSurfer and FSL. The
module provides the possibility of expanding the functionality by deploying specialized
software to process MRI/fMRI data of laboratory animals.
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Workflow of data from MRI/fMRI experiments</title>
      <p>During the MRI/fMRI experiment, the tomography signal is sent to the tomography
operator’s PC, where it is saved as a set of 2D(MRI)/3D(fMRI) DICOM files. The number of
files equals to the number of “slices” – brain scans performed during the experiment. A
unique number of a specific “slice” contained in the file is assigned to each file, and a
metadata block with information about the experiment (data of the experiment, characteristics
of the tomography settings, subject data, etc.) is added. This set of 2D/3D DICOM files is
then transferred from the tomography operator’s PC to other devices for storage and analysis
in any convenient way (external drive or online).</p>
      <p>Further, to be able to process and analyze 2D/3D DICOM data files using specialized
software, this set should be converted into one 3D (MRI)/4D(fMRI) NIFTI file, while
separating the metadata into a separate .txt file. Such conversion is carried out using special
programs – converters. In our system, for example, the MRI Convert program is used for this
purpose. The input is a set of 2D/3D DICOM files, and the output is an 3D/4D NIFTI file and
a .txt file. The NIFTI file is used for further processing and analysis using specialized
software. The .txt file is stored in the metadata base and enables the identification of the
results of NIFTI file analysis with a specific experiment and a subject.</p>
      <p>The result of processing and analyzing experimental data contained in the NIFTI file
is a set of directories and files of different formats (depending on the selected specialized
software). These results can be visualized using special visual editors – viewers (usually,
each specialized program has its own viewer). For example, our system allows one to
visualize the results of data processing by the FreeSurfer program using the FreeView viewer.</p>
      <p>The schematic workflow of fMRI data is illustrated in Figure 1.</p>
    </sec>
    <sec id="sec-3">
      <title>3. System on the HybriLIT heterogeneous platform</title>
      <p>
        Within this project, the following software packages have been installed on the
HybriLIT heterogeneous platform:
 MRIConvert [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] for converting the NIFTI file from the original set of DICOM files;
 FreeSurfer [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] for NIFTI file processing;
 FSL [6], alternative package for NIFTI file processing;
 FreeView (from the FreeSurfer package) for building images after NIFTI file
processing.
      </p>
      <p>
        All the software has been installed in the network file system such as CernVM File
System (cvmfs) [
        <xref ref-type="bibr" rid="ref6">7</xref>
        ], and the corresponding modules have been prepared. Work with it is
organized via the Modules package [
        <xref ref-type="bibr" rid="ref7">8</xref>
        ], using which the user can dynamically change the
environment variables of the current session.
      </p>
      <p>The principle of work is as follows, and it is shown in Figure 2:
 the user connects to the HybriLIT heterogeneous platform;
 using the commands of the Modules package, the user connects the required software
and works with it interactively;</p>
      <p> when launching calculations via the SLURM scheduler, the user adds a command to
connect the module to the script file, and when the task starts, the environment variables are
defined on the work node.</p>
      <p>Owing to the unified software and information environment on the HybriLIT
heterogeneous platform, after debugging the workflow on the education and testing polygon,
the user can perform calculations on the “Govorun” supercomputer, making minimal changes
to the script files.</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusion</title>
      <p>The article describes the first stage of creating an information system for storing,
processing, analyzing and visualizing experimental MRI/fMRI data on the HybriLIT
heterogeneous platform. The architecture and functionality of the module for processing
MRI/fMRI data of the human brain are presented. The module enables the processing of
MRI/fMRI data with the most popular neuroimaging tools – FreeSurfer and FSL software,
using the resources of the HybriLIT heterogeneous platform and the “Govorun”
supercomputer of LIT JINR, Dubna. The module has been verified using real MRI/fMRI
data.</p>
      <p>The module will serve as a basis for expanding the system by adding functionality to
process MRI/fMRI data of the brain of laboratory animals, with the provision of remote
access to the system via a web interface. The module will also be used for the practical part
of training courses on neuroimaging.
[6] FSL.
01.10.2020).</p>
      <p>Available
at: https://surfer.nmr.mgh.harvard.edu/fswiki/FSL
on:</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Russell</surname>
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Poldrack</surname>
          </string-name>
          et al, «
          <article-title>Handbook of Functional MRI Data Analysis»</article-title>
          , Cambridge University Press;
          <volume>1</volume>
          <fpage>edition</fpage>
          (
          <year>August 22</year>
          ,
          <year>2011</year>
          ), ISBN-
          <volume>10</volume>
          :
          <fpage>0521517664</fpage>
          , ISBN-
          <volume>13</volume>
          :
          <fpage>978</fpage>
          -
          <lpage>0521517669</lpage>
          /
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Heterogeneous</surname>
            <given-names>platform</given-names>
          </string-name>
          “HybriLIT”. Available at: http://hlit.jinr.ru/ (accessed on:
          <volume>01</volume>
          .
          <fpage>10</fpage>
          .
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>I.M.</given-names>
            <surname>Enyagina</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.N.</given-names>
            <surname>Polyakov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.A.</given-names>
            <surname>Poyda</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.L.</given-names>
            <surname>Ushakov</surname>
          </string-name>
          .
          <article-title>System for Automatic Processing and Analysis of MRI/fMRI Data on the Kurchatov Institute Supercomputer</article-title>
          .
          <source>EPJ Web Conf. 226</source>
          <volume>03006</volume>
          (
          <year>2020</year>
          ). DOI:
          <volume>10</volume>
          .1051/epjconf/202022603006.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <article-title>[4] Robert and Beverly Lewis Center for Neuroimaging</article-title>
          . Available at: https://lcni.uoregon.edu/downloads/mriconvert (accessed
          <source>on: 01.10</source>
          .
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5] FreeSurfer. Available at: https://surfer.nmr.mgh.harvard.edu/ (accessed on:
          <volume>01</volume>
          .
          <fpage>10</fpage>
          .
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>CernVM</given-names>
            <surname>File</surname>
          </string-name>
          <article-title>System</article-title>
          . Available at: https://cernvm.cern.ch/fs/ (accessed on:
          <volume>01</volume>
          .
          <fpage>10</fpage>
          .
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>Environment</given-names>
            <surname>Modules</surname>
          </string-name>
          . Available at: http://modules.sourceforge.net/ (accessed on:
          <volume>01</volume>
          .
          <fpage>10</fpage>
          .
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>