third_party_software/hmmer-3.0-linux-intel-x86_64/easel/esl_sq.c
/* Function:  esl_sq_SetCoordComplete()
 * Synopsis:  Sets coords in a complete sequence.
 * Incept:    SRE, Tue May 13 09:25:33 2008 [Janelia]
 *
 * Purpose:   Declare that <sq> contains a complete sequence of length
 *            <L>; set the coordinate and length information in <sq>
 *            accordingly. This is used in building new sequence
 *            objects.
 *            
 *            <sq->seq> or <sq->dsq> must contain a sequence of length
 *            <L>.
 *            
 * Returns:   <eslOK> on success.
 */
esl_sq_SetCoordComplete()
Synopsis:  Sets coords in a complete sequence.

Declare that  contains a complete sequence of length
; set the coordinate and length information in 
accordingly. This is used in building new sequence
objects.

seq> or dsq> must contain a sequence of length
.

 on success.
esl_sq_SetCoordComplete () Synopsis : Sets coords in a complete sequence . Declare that contains a complete sequence of length ; set the coordinate and length information in accordingly . This is used in building new sequence objects . seq > or dsq > must contain a sequence of length . on success .
int
esl_sq_SetCoordComplete(ESL_SQ *sq, int64_t L)
{
  sq->start = 1;
  sq->end   = L;
  sq->C     = 0;
  sq->W     = L;
  sq->L     = L;
  sq->n     = L;
  return eslOK;
}
int esl_sq_SetCoordComplete ( ESL_SQ * sq , int64_t L ) { sq -> start = 1 ; sq -> end = L ; sq -> C = 0 ; sq -> W = L ; sq -> L = L ; sq -> n = L ; return eslOK ; }
Function:  esl_sq_SetCoordComplete()
 Synopsis:  Sets coords in a complete sequence.
Function : esl_sq_SetCoordComplete () Synopsis : Sets coords in a complete sequence .