src/main/java/org/string_db/psicquic/index/StringdbRowBuilder.java
StringdbRowBuilder build(Integer speciesId, Map<Integer, String> uniprotIds) {
            try {
                Map<String, String> setsCollections = util.loadSetsCollections();
                Map<Integer, Set<String>> proteinsSets = util.loadProteinsSets(speciesId);
                final ConfidenceColumnBuilder scoresBuilder = new ConfidenceColumnBuilder(new SourceDbLookup(proteinsSets, setsCollections));

                FieldBuilder appenderChain = new IdsFieldBuilder(util.loadProteinExternalIds(speciesId), uniprotIds);
                appenderChain.chain(new RefseqAlternativeIdsFieldBuilder(util.loadRefseqIds(speciesId)));
                appenderChain.chain(new AliasFieldBuilder(util.loadProteinNames(speciesId)));
//                appenderChain.chain(new TaxonFieldBuilder(speciesId, util.loadSpeciesName(speciesId)));
                appenderChain.chain(new MultipleTaxonNamesFieldBuilder(speciesId, util.loadSpeciesNames(speciesId)));


                appenderChain.chain(new InteractorTypeFieldBuilder());
                appenderChain.chain(new RogidFieldBuilder(speciesId, util.loadProteinSequences(speciesId)));
                return new StringdbRowBuilder(scoresBuilder, appenderChain);
            } catch (Exception e) {
                throw new ExceptionInInitializerError(e);
            }
        }
/**
         * Return a newly created instance with all the
         * {@link FieldBuilder} chained.
         *
         * @param speciesId
         * @param uniprotIds
         * @return
         */
Return a newly created instance with all the
FieldBuilder chained.

@param speciesId
@param uniprotIds
@return
Return a newly created instance with all the FieldBuilder chained . @param speciesId @param uniprotIds @return
StringdbRowBuilder build(Integer speciesId, Map<Integer, String> uniprotIds) {
            try {
                Map<String, String> setsCollections = util.loadSetsCollections();
                Map<Integer, Set<String>> proteinsSets = util.loadProteinsSets(speciesId);
                final ConfidenceColumnBuilder scoresBuilder = new ConfidenceColumnBuilder(new SourceDbLookup(proteinsSets, setsCollections));
                FieldBuilder appenderChain = new IdsFieldBuilder(util.loadProteinExternalIds(speciesId), uniprotIds);
                appenderChain.chain(new RefseqAlternativeIdsFieldBuilder(util.loadRefseqIds(speciesId)));
                appenderChain.chain(new AliasFieldBuilder(util.loadProteinNames(speciesId)));
                appenderChain.chain(new MultipleTaxonNamesFieldBuilder(speciesId, util.loadSpeciesNames(speciesId)));
                appenderChain.chain(new InteractorTypeFieldBuilder());
                appenderChain.chain(new RogidFieldBuilder(speciesId, util.loadProteinSequences(speciesId)));
                return new StringdbRowBuilder(scoresBuilder, appenderChain);
            } catch (Exception e) {
                throw new ExceptionInInitializerError(e);
            }
        }
StringdbRowBuilder build ( Integer speciesId , Map < Integer , String > uniprotIds ) { try { Map < String , String > setsCollections = util . loadSetsCollections ( ) ; Map < Integer , Set < String > > proteinsSets = util . loadProteinsSets ( speciesId ) ; final ConfidenceColumnBuilder scoresBuilder = new ConfidenceColumnBuilder ( new SourceDbLookup ( proteinsSets , setsCollections ) ) ; FieldBuilder appenderChain = new IdsFieldBuilder ( util . loadProteinExternalIds ( speciesId ) , uniprotIds ) ; appenderChain . chain ( new RefseqAlternativeIdsFieldBuilder ( util . loadRefseqIds ( speciesId ) ) ) ; appenderChain . chain ( new AliasFieldBuilder ( util . loadProteinNames ( speciesId ) ) ) ; appenderChain . chain ( new MultipleTaxonNamesFieldBuilder ( speciesId , util . loadSpeciesNames ( speciesId ) ) ) ; appenderChain . chain ( new InteractorTypeFieldBuilder ( ) ) ; appenderChain . chain ( new RogidFieldBuilder ( speciesId , util . loadProteinSequences ( speciesId ) ) ) ; return new StringdbRowBuilder ( scoresBuilder , appenderChain ) ; } catch ( Exception e ) { throw new ExceptionInInitializerError ( e ) ; } }
Return a newly created instance with all the
 {@link FieldBuilder} chained.
Return a newly created instance with all the { @link FieldBuilder } chained .
//                appenderChain.chain(new TaxonFieldBuilder(speciesId, util.loadSpeciesName(speciesId)));