parameters: (fpath)
return_statement: return fasta_str
docstring: Returns string
docstring_summary: Returns string
docstring_tokens: Returns string
function: def read_fasta_str(fpath):
      """
          Returns string
      """
      fasta_file = _get_fasta_file_handler(fpath)
      list_seq = []
  
      for raw_line in fasta_file:
          lines = raw_line.split('\r')
          for line in lines:
              if not line:
                  continue
              if line[0] != '>':
                  list_seq.append(line.strip())
  
      fasta_file.close()
      fasta_str = ''.join(list_seq)
      return fasta_str
function_tokens: def read_fasta_str ( fpath ) : fasta_file = _get_fasta_file_handler ( fpath ) list_seq = [ ] for raw_line in fasta_file : lines = raw_line . split ( '\r' ) for line in lines : if not line : continue if line [ 0 ] != '>' : list_seq . append ( line . strip ( ) ) fasta_file . close ( ) fasta_str = '' . join ( list_seq ) return fasta_str