 |
Bsoft
2.1.0
Bernard's software package
|
Go to the documentation of this file.
20 "Usage: bcatseq [options] input.seq input2.seq",
21 "---------------------------------------------",
22 "Concatenates protein sequences from different files.",
23 "Multiple sequences in the different files must be in the same order.",
26 "-verbose 7 Verbosity of output.",
29 "-output output.embl Output sequence file (default temp.star).",
34 int main(
int argc,
char **argv)
44 for ( curropt = option; curropt; curropt = curropt->
next ) {
45 if ( curropt->
tag ==
"output" )
60 while ( optind < argc ) {
61 filename = argv[optind++];
63 if ( i == 0 ) catgroup = molgroup;
65 for ( mol = molgroup->
mol, catmol = catgroup->
mol; mol; mol = mol->
next, catmol = catmol->
next ) {
67 catmol->
id += mol->
id;
A class for a command line input option.
int molgroup_kill(Bmolgroup *molgroup)
Destroys a molecule group.
int bexit(int value)
Exit function for cleanup and debugging.
Boption * get_option_list(const char *use[], int argc, char *argv[], int &optind)
Parses command line arguments based on a template.
Bmolgroup * read_molecule(const char *filename, const char *select, const char *paramfile)
The generalized function for reading molecular files.
Header file for option handlers.
int main(int argc, char **argv)
Header file for reading reflection files.
Utilities for timing functions.
double timer_start()
Starts timer and prints the time.
Header file for general utilities.
double timer_report(double lasttime)
Reports the time elapsed since a given time.
int write_molecule(char *filename, Bmolgroup *molgroup)
Writes a molecule group.
int option_kill(Boption *option)
Deallocates a linked list of option structures.