1 | #include "muscle.h" |
---|
2 | #include <stdio.h> |
---|
3 | |
---|
4 | void Credits() |
---|
5 | { |
---|
6 | static bool Displayed = false; |
---|
7 | if (Displayed) |
---|
8 | return; |
---|
9 | |
---|
10 | fprintf(stderr, "\n%s\n\n", MUSCLE_LONG_VERSION); |
---|
11 | fprintf(stderr, "http://www.drive5.com/muscle\n"); |
---|
12 | fprintf(stderr, "This software is donated to the public domain.\n"); |
---|
13 | fprintf(stderr, "Please cite: Edgar, R.C. Nucleic Acids Res 32(5), 1792-97.\n\n"); |
---|
14 | Displayed = true; |
---|
15 | } |
---|
16 | |
---|
17 | void Usage() |
---|
18 | { |
---|
19 | Credits(); |
---|
20 | fprintf(stderr, |
---|
21 | "\n" |
---|
22 | "Basic usage\n" |
---|
23 | "\n" |
---|
24 | " muscle -in <inputfile> -out <outputfile>\n" |
---|
25 | "\n" |
---|
26 | "Common options (for a complete list please see the User Guide):\n" |
---|
27 | "\n" |
---|
28 | " -in <inputfile> Input file in FASTA format (default stdin)\n" |
---|
29 | " -out <outputfile> Output alignment in FASTA format (default stdout)\n" |
---|
30 | " -diags Find diagonals (faster for similar sequences)\n" |
---|
31 | " -maxiters <n> Maximum number of iterations (integer, default 16)\n" |
---|
32 | " -maxhours <h> Maximum time to iterate in hours (default no limit)\n" |
---|
33 | " -html Write output in HTML format (default FASTA)\n" |
---|
34 | " -msf Write output in GCG MSF format (default FASTA)\n" |
---|
35 | " -clw Write output in CLUSTALW format (default FASTA)\n" |
---|
36 | " -clwstrict As -clw, with 'CLUSTAL W (1.81)' header\n" |
---|
37 | " -log[a] <logfile> Log to file (append if -loga, overwrite if -log)\n" |
---|
38 | " -quiet Do not write progress messages to stderr\n" |
---|
39 | " -version Display version information and exit\n" |
---|
40 | "\n" |
---|
41 | "Without refinement (very fast, avg accuracy similar to T-Coffee): -maxiters 2\n" |
---|
42 | "Fastest possible (amino acids): -maxiters 1 -diags -sv -distance1 kbit20_3\n" |
---|
43 | "Fastest possible (nucleotides): -maxiters 1 -diags\n"); |
---|
44 | } |
---|