<entry xmlns="http://pdbe.org/empiar" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://ftp.ebi.ac.uk/pub/databases/emtest/empiar/schema/empiar.xsd" accessionCode="EMPIAR-10812" public="true">
    <admin>
        <currentStatus>REL</currentStatus>
        <keyDates>
            <depositionDate>2021-09-20</depositionDate>
            <releaseDate>2021-10-01</releaseDate>
            <updateDate>2022-02-28</updateDate>
        </keyDates>
        <title>Training data set for automated 2D class selection</title>
        <correspondingAuthor>
            <authorORCID>0000-0002-0462-6540</authorORCID>
            <firstName>Sjors</firstName>
            <middleName>H.W.</middleName>
            <lastName>Scheres</lastName>
            <organization type="academic">MRC Laboratory of Molecular Biology</organization>
            <street>Francis Crick Avenue</street>
            <townOrCity>Cambridge</townOrCity>
            <stateOrProvince>Cambridgeshire</stateOrProvince>
            <country>United Kingdom</country>
            <postOrZipCode>CB2 0QH</postOrZipCode>
        </correspondingAuthor>
        <principalInvestigator>
            <authorORCID>0000-0002-0462-6540</authorORCID>
            <firstName>Sjors</firstName>
            <middleName>H.W.</middleName>
            <lastName>Scheres</lastName>
            <organization type="academic">MRC Laboratory of Molecular Biology</organization>
            <street>Francis Crick Avenue</street>
            <townOrCity>Cambridge</townOrCity>
            <stateOrProvince>Cambridgeshire</stateOrProvince>
            <country>United Kingdom</country>
            <postOrZipCode>CB2 0QH</postOrZipCode>
        </principalInvestigator>
        <authorsList>
            <author authorORCID="0000-0002-2662-6373">Kimanius D</author>
            <author>Dong L</author>
            <author authorORCID="0000-0002-6930-4999">Sharov G</author>
            <author authorORCID="0000-0003-2697-2767">Nakane T</author>
            <author authorORCID="0000-0002-0462-6540">Scheres SHW</author>
        </authorsList>
        <datasetSize>20.7</datasetSize>
        <entryDOI>10.6019/EMPIAR-10812</entryDOI>
        <experimentType>Exception</experimentType>
    </admin>
    <crossReferences>
        <citationList>
            <universalCitation>
                <journalCitation published="true" preprint="false">
                    <author authorORCID="0000-0002-2662-6373" order="1">Kimanius D</author>
                    <author order="2">Dong L</author>
                    <author authorORCID="0000-0002-6930-4999" order="3">Sharov G</author>
                    <author authorORCID="0000-0003-2697-2767" order="4">Nakane T</author>
                    <author authorORCID="0000-0002-0462-6540" order="5">Scheres SHW</author>
                    <title>New tools for automated cryo-EM single-particle analysis in RELION-4.0</title>
                    <journal>The Biochemical journal</journal>
                    <journalAbbreviation>Biochem J</journalAbbreviation>
                    <country></country>
                    <issue>24</issue>
                    <volume>478</volume>
                    <firstPage>4169</firstPage>
                    <lastPage>4185</lastPage>
                    <year>2021</year>
                    <language>English</language>
                    <externalReferences type="doi">10.1042/bcj20210708</externalReferences>
                    <externalReferences type="pubmed">34783343</externalReferences>
                </journalCitation>
            </universalCitation>
            <universalCitation>
                <journalCitation published="true" preprint="true">
                    <author authorORCID="0000-0002-2662-6373" order="1">Kimanius D</author>
                    <author order="2">Dong L</author>
                    <author authorORCID="0000-0002-6930-4999" order="3">Sharov G</author>
                    <author authorORCID="0000-0003-2697-2767" order="4">Nakane T</author>
                    <author authorORCID="0000-0002-0462-6540" order="5">Scheres SHW</author>
                    <title>New tools for automated cryo-EM single-particle analysis in RELION-4.0</title>
                    <journal>bioRxiv</journal>
                    <journalAbbreviation></journalAbbreviation>
                    <country></country>
                    <externalReferences type="doi">10.1101/2021.09.30.462538</externalReferences>
                </journalCitation>
            </universalCitation>
        </citationList>
    </crossReferences>
    <imageSet>
        <name>2D class averages for training neural network in region_class_ranker</name>
        <directory>/data</directory>
        <category>class averages</category>
        <headerFormat>MRCS</headerFormat>
        <dataFormat>MRCS</dataFormat>
        <numImagesOrTiltSeries>18051</numImagesOrTiltSeries>
        <framesPerImage>1</framesPerImage>
        <voxelType>32 BIT FLOAT</voxelType>
        <dimensions>
            <imageWidth>variable</imageWidth>
            <pixelWidth>variable</pixelWidth>
            <imageHeight>variable</imageHeight>
            <pixelHeight>variable</pixelHeight>
        </dimensions>
        <details>Each subdirectory with 12 random characters contains a single 2D classification run, with an image file run_class.mrcs that contains the actual 2D class averages, the files run_model.star, run_data.star, run_sampling.star and run_optimiser.star with the corresponding metadata from RELION's 2D classification run (see RELION documentation for details), a file job_score.txt that contains the manually assigned job score for that 2D classification run, a backup_selection.star file that contains the different categories of assigned classes, which are converted to individual class scores in the class_ranker program (see function ClassRanker::getClassScoreFromJobScore inside src/class_ranker.cpp), and a file features_normalized.star that contains the features calculated by the region_class_ranker program.

One can visualise the images for each class, e.g. in directory cahg4Zo4Goos, with the following command: 

relion_display --sort rlnClassDistribution --reverse --class --i cahg4Zo4Goos/run_optimiser.star --fn_imgs cahg4Zo4Goos/backup_selection.star 

Classes shown in red (1 in backup_selection.star) are the best according to the manually assigned class labels in backup_selection.star; magenta (5) are second-best; green (2) third-best; and blue (3) or cyan (4) fourth-best. Yellow classes (6) or non-coloured classes (0) are the worst (score=0).

The normalised_features.star file was calculated in RELION-4.0, running the following command in csh from the main directory:

foreach opt (*/run_optimiser.star)
 set dir=`echo ${opt} | awk -F"/" '{print $1}'`
 echo $dir
 relion_class_ranker --train --do_granularity_features --extract_subimages --subimage_boxsize 64 --nr_subimages 25 --opt ${dir}/run_optimiser.star --select ${dir}/backup_selection.star --fn_score ${dir}/job_score.txt --o ${dir} --write_normalized_features
end</details>
        <segmentationList/>
        <micrographsFilePattern></micrographsFilePattern>
        <pickedParticlesFilePattern></pickedParticlesFilePattern>
        <pickedParticlesDirectory></pickedParticlesDirectory>
    </imageSet>
</entry>
