a4c43c4be98b755b068d9bb9353014927014e384 markd Sat Feb 12 13:14:36 2011 -0800 add functions to clone mafAli objects diff --git src/inc/maf.h src/inc/maf.h index 1ad52e5..d337958 100644 --- src/inc/maf.h +++ src/inc/maf.h @@ -235,17 +235,24 @@ void mafFlipStrand(struct mafAli *maf); /* Reverse complement maf. */ void mafSrcDb(char *name, char *retDb, int retDbSize); /* Parse out just database part of name (up to but not including * first dot). If dot found, return entire name */ boolean mafColumnEmpty(struct mafAli *maf, int col); /* Return TRUE if the column is all '-' or '.' */ void mafStripEmptyColumns(struct mafAli *maf); /* Remove columns that are all '-' or '.' from maf. */ boolean isContigOrTandem(char status); /* is status MAF_CONTIG_STATUS or MAF_TANDEM_STATUS */ + +struct mafComp *mafCompClone(struct mafComp *srcComp); +/* clone a mafComp */ + +struct mafAli *mafAliClone(struct mafAli *srcAli); +/* clone a mafAli */ + #endif /* MAF_H */