725fb44d51252c1708b7f7b5294bd810d102dd44 markd Sun Aug 16 21:55:23 2015 -0400 added function to clone a psl diff --git src/inc/psl.h src/inc/psl.h index 0557228..894e3d7 100644 --- src/inc/psl.h +++ src/inc/psl.h @@ -300,17 +300,20 @@ float pslQueryAligned(struct psl *psl); /* compute fraction of query that was aligned */ INLINE unsigned pslQEnd(struct psl *psl, int blkIdx) /* return query end for the given block */ { return psl->qStarts[blkIdx] + psl->blockSizes[blkIdx]; } INLINE unsigned pslTEnd(struct psl *psl, int blkIdx) /* return target end for the given block */ { return psl->tStarts[blkIdx] + psl->blockSizes[blkIdx]; } +struct psl* pslClone(struct psl *psl); +/* clone a psl */ + #endif /* PSL_H */