def get_info(line, bit_thresh):
if len(line) >= <NUM_LIT>: <EOL><INDENT>id, model, bit, inc = line[<NUM_LIT:0>].split()[<NUM_LIT:0>], line[<NUM_LIT:2>], float(line[<NUM_LIT>]), line[<NUM_LIT:16>]<EOL>sstart, send, strand = int(line[<NUM_LIT:7>]), int(line[<NUM_LIT:8>]), line[<NUM_LIT:9>]<EOL>mstart, mend = int(line[<NUM_LIT:5>]), int(line[<NUM_LIT:6>])<EOL><DEDENT>elif len(line) == <NUM_LIT:9>: <EOL><INDENT>if bit_thresh == <NUM_LIT:0>:<EOL><INDENT>print('<STR_LIT>', file=sys.stderr)<EOL>print('<STR_LIT>', file=sys.stderr)<EOL>exit()<EOL><DEDENT>id, model, bit = line[<NUM_LIT:1>].split()[<NUM_LIT:0>], line[<NUM_LIT:0>], float(line[<NUM_LIT:6>])<EOL>inc = '<STR_LIT:!>' <EOL>sstart, send = int(line[<NUM_LIT:2>]), int(line[<NUM_LIT:3>])<EOL>mstart, mend = int(<NUM_LIT:4>), int(<NUM_LIT:5>)<EOL>if send >= sstart:<EOL><INDENT>strand = '<STR_LIT:+>'<EOL><DEDENT>else:<EOL><INDENT>strand = '<STR_LIT:->'<EOL><DEDENT><DEDENT>else:<EOL><INDENT>print('<STR_LIT>', file=sys.stderr)<EOL>print('<STR_LIT>', file=sys.stderr)<EOL>exit()<EOL><DEDENT>coords = [sstart, send]<EOL>sstart, send = min(coords), max(coords)<EOL>mcoords = [mstart, mend]<EOL>mstart, mend = min(mcoords), max(mcoords)<EOL>return id, model, bit, sstart, send, mstart, mend, strand, inc<EOL>
get info from either ssu-cmsearch or cmsearch output