char* gbFaGetSeq(struct gbFa *fa)
/* Get the sequence for the current record, reading it if not already
 * buffered */
{
if (fa->seq == NULL)
    faReadSeq(fa);
return fa->seq;
}
예제 #2
0
파일: fa.c 프로젝트: blumroy/kentUtils
struct dnaSeq *faReadAa(char *fileName)
/* Open fa file and read a peptide single sequence from it. */
{
return faReadSeq(fileName, FALSE);
}
예제 #3
0
파일: fa.c 프로젝트: blumroy/kentUtils
struct dnaSeq *faReadDna(char *fileName)
/* Open fa file and read a single nucleotide sequence from it. */
{
return faReadSeq(fileName, TRUE);
}