lib/uniprot_parser/protein.rb
def protein_existence
      if @protein_existence.nil?
        @protein_existence = (@pe_block.match /^PE\s+(\d):.*/)[1].to_i
      end
      @protein_existence
    end
#return [Integer] the protein existence level (how trustable the protein is, coming from experimental evidence or prediction like homology)
return [Integer] the protein existence level (how trustable the protein is, coming from experimental evidence or prediction like homology)
return [ Integer ] the protein existence level ( how trustable the protein is coming from experimental evidence or prediction like homology )
def protein_existence
      if @protein_existence.nil?
        @protein_existence = (@pe_block.match /^PE\s+(\d):.*/)[1].to_i
      end
      @protein_existence
    end
def protein_existence if @protein_existence . nil? @protein_existence = ( @pe_block . match / ^PE \s +( \d ):.* / ) [ 1 ] . to_i end @protein_existence end
return [Integer] the protein existence level (how trustable the protein is, coming from experimental evidence or prediction like homology)
return [ Integer ] the protein existence level ( how trustable the protein is coming from experimental evidence or prediction like homology )