public List < String > getTracksString ( Map < String , GenomeBrowserTrack > entityTracks ) { List < String > results = new ArrayList <> ( ) ; if ( hasPermission ( ) ) { Map < String , GenomeBrowserTrack > allTracks = new HashMap <> ( entityTracks ) ; for ( GenomeBrowserTrack track : entityTracks . values ( ) ) { allTracks . putAll ( getReferenceTracks ( track ) ) ; } results = allTracks . values ( ) . stream ( ) . map ( GenomeBrowserTrack :: toTrackString ) . collect ( Collectors . toList ( ) ) ; } return results ; }
Get readable genome entities