def get_info_on_query_sequence(seq_type = @config[:type],
                                   index = @config[:idx])
      query        = GeneValidator.extract_input_fasta_sequence(index)
      parse_query  = query.scan(/^>([^\n]*)\n([A-Za-z\n]*)/)[0]

      prediction                = Query.new
      prediction.definition     = parse_query[0].delete("\n")
      prediction.identifier     = prediction.definition.gsub(/ .*/, '')
      prediction.type           = seq_type
      prediction.raw_sequence   = parse_query[1].delete("\n")
      prediction.length_protein = prediction.raw_sequence.length
      prediction.length_protein /= 3 if seq_type == :nucleotide
      prediction
    end
def get_info_on_query_sequence(seq_type = @config[:type],
                                   index = @config[:idx])
      query        = GeneValidator.extract_input_fasta_sequence(index)
      parse_query  = query.scan(/^>([^\n]*)\n([A-Za-z\n]*)/)[0]

      prediction                = Query.new
      prediction.definition     = parse_query[0].delete("\n")
      prediction.identifier     = prediction.definition.gsub(/ .*/, '')
      prediction.type           = seq_type
      prediction.raw_sequence   = parse_query[1].delete("\n")
      prediction.length_protein = prediction.raw_sequence.length
      prediction.length_protein /= 3 if seq_type == :nucleotide
      prediction
    end
get info about the query