code: func (r *Reference) SetLen(l int) error {
  	if !validLen(l) {
  		return errors.New("sam: length out of range")
  	}
  	r.lRef = int32(l)
  	return nil
  }
docs: // SetLen sets the length of the reference sequence to l. The given length
  // must be a valid SAM reference length.