Package com.infoclinika.mssharing.model.internal.entity.search.ExperimentSearchParamsData

Examples of com.infoclinika.mssharing.model.internal.entity.search.ExperimentSearchParamsData.Ms2ProcessorParamsData


        return false;
    }
    @Transactional
    private IsotopeGroupMergeResultResponse doIsotopeGroupMerge(long experimentSearchId) throws IOException{
        final ExperimentSearch experimentSearch = experimentSearchRepository.findOne(experimentSearchId);
        final Ms2ProcessorParamsData msParams = experimentSearch.getData().getParams().getMs2ProcessorParams();
        LOG.info("Creating ig merge file and upload...");
        final S3ObjectReference igMergeRequestRef = getS3ReferenceWithIGPerFiles(experimentSearch);
        LOG.info("Sent isotope group merge task");
        changeStatus(experimentSearchId, IN_PROGRESS_ISOTOPE_GROUP_MERGE_STEP);
        final IsotopeGroupMergeResultResponse isotopeGroupMergeResultResponse = webService.isotopeGroupMerge(targetBucket, transformToString(igMergeRequestRef),
                (byte) msParams.getMaxCharge(), msParams.getIsolationWidth());
        LOG.info("Completed isotope group merge task");
        changeStatus(experimentSearchId, IN_PROGRESS_END);
        FileOperations.deleteFromS3(igMergeRequestRef);
        if (saveExperimentSearchIfErrorHappened(experimentSearch, isotopeGroupMergeResultResponse.getErrorMessage()))
            return null;
View Full Code Here


        final ExperimentSearchParamsData paramsData = new Function<ExperimentSearchParamsInfo, ExperimentSearchParamsData>(){
            @Override
            public ExperimentSearchParamsData apply(ExperimentSearchParamsInfo p) {
                final ExperimentSearchParamsInfo.Ms2ProcessorParamsInfo ms2I = p.ms2ProcessorParams;
                final ExperimentSearchParamsInfo.CometParamsInfo cI = p.cometParams;
                final Ms2ProcessorParamsData ms2Data = new Ms2ProcessorParamsData(ms2I.maxCharge, ms2I.isolationWidth);
                final SearchDatabase sequestSearchDB = sequestSearchDBRepository.findOne(cI.database);
                final CometParamsData cometParamsData = new CometParamsData(sequestSearchDB, cI.maxPrecursorCharge, cI.peptideMassTolerance,
                        cI.peptideMassUnits, cI.massTypeParent, cI.massTypeFragment, cI.precursorToleranceType, cI.searchEnzymeNumber, cI.numEnzymeTermini, newLinkedHashSet(cI.modificationParams));
                return new ExperimentSearchParamsData(ms2Data, cometParamsData);
            }
View Full Code Here

TOP

Related Classes of com.infoclinika.mssharing.model.internal.entity.search.ExperimentSearchParamsData.Ms2ProcessorParamsData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.