swps3
Main Page
Classes
Files
File List
File Members
dblen.c
Go to the documentation of this file.
1
#include "
fasta.h
"
2
#include <stdio.h>
3
4
5
int
main
(
int
argc,
char
** argv)
6
{
7
FastaLib
*lib;
8
int
len;
9
10
if
(argc < 2)
return
1;
11
12
lib =
swps3_openLib
(argv[1]);
13
14
while
(
swps3_readNextSequence
(lib, &len)) {
15
printf(
"%d\t%s\n"
,len,
swps3_getSequenceName
(lib));
16
}
17
18
swps3_closeLib
(lib);
19
return
0;
20
}
21
dblen.c
Generated on Fri Sep 14 2012 11:14:34 for swps3 by
1.8.2