
Using EMBOSS from the command lineEMBOSS has been developed with an extremely powerful command line syntax. Unfortunately this may be a little bewildering for those who aren't used to such things so this page aims to introduce the key concepts.You will probably find it useful to log into bioslave and try this out yourself as you follow through this introduction.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
programname -help |
user@bioslave ~> transeq -help
Mandatory qualifiers:
[-sequence] seqall Sequence database USA
[-outseq] seqoutall Output sequence(s) USA
Optional qualifiers:
-frame list Frame(s) to translate
-table list Code to use
-regions range Regions to translate.
If this is left blank, then the complete
sequence is translated.
A set of regions is specified by a set of
pairs of positions.
The positions are integers.
They are separated by any non-digit,
non-alpha character.
Examples of region specifications are:
24-45, 56-78
1:45, 67=99;765..888
1,5,8,10,23,45,57,99
-trim bool
This removes all X and * characters from the
right end of the translation. The trimming
process starts at the end and continues
until the next character is not a X or a *
Advanced qualifiers: (none)
|
| Option | Type | Description |
| -auto | bool | Do not promt for input. The program will run without asking for any input, taking the values given on the command line or the default values if no value was given on the command line. If you haven't specified all mandatory values or specify a value incorrectly the program will exit with an error message. |
| -options | bool | Prompt for optional parameters as well as required parameters. |
| -help | bool | Print the command line options for the program |
| -verbose | bool | Print all the command line options, including associated and general qualifiers |
| -stdout | bool | Write the results to standard output (typically the screen) instead of to a file. |
| -filter | bool | Read input from standard input, write output to standard output. |
| -acdlog | bool | write ACD processing log to program.acdlog |
| -debug | bool | write debug output to program.dbg |
| -acdpretty | bool | rewrite ACD file as program.acdpretty |
| -acdtable | bool | write HTML table of options |
user@bioslave ~> transeq -help -verbose
Mandatory qualifiers:
[-sequence] seqall Sequence database USA
[-outseq] seqoutall Output sequence(s) USA
Optional qualifiers:
-frame list
Frame(s) to translate
-table list
Code to use
-regions range
Regions to translate.
If this is left blank, then the complete
sequence is translated.
A set of regions is specified by a set of
pairs of positions.
The positions are integers.
They are separated by any non-digit,
non-alpha character.
Examples of region specifications are:
24-45, 56-78
1:45, 67=99;765..888
1,5,8,10,23,45,57,99
-trim bool
This removes all X and * characters from the
right end of the translation. The trimming
process starts at the end and continues
until the next character is not a X or a *
Advanced qualifiers: (none)
Associated qualifiers:
"-sequence" related qualifiers
-sbegin1 integer first base used
-send1 integer last base used, def=seq length
-sreverse1 bool reverse (if DNA)
-sask1 bool ask for begin/end/reverse
-snucleotide1 bool sequence is nucleotide
-sprotein1 bool sequence is protein
-slower1 bool make lower case
-supper1 bool make upper case
-sformat1 string input sequence format
-sopenfile1 string input filename
-sdbname1 string database name
-sid1 string entryname
-ufo1 string UFO features
-fformat1 string features format
-fopenfile1 string features file name
"-outseq" related qualifiers
-osformat2 string output seq format
-osextension2 string file name extension
-osname2 string base file name
-osdbname2 string database name to add
-ossingle2 bool separate file for each entry
-oufo2 string UFO features
-offormat2 string features format
-ofname2 string features file name
General qualifiers:
-debug bool write debug output to program.dbg
-auto bool turn off prompts
-stdout bool write standard output
-filter bool read standard input, write standard output
-options bool prompt for required and optional values
-verbose bool report some/full command line options
-help bool report command line options
-acdlog bool write ACD processing log to program.acdlog
-acdpretty bool rewrite ACD file as program.acdpretty
-acdtable bool write HTML table of options
|
| embl::mysequence.fil | reads a sequence from the file mysequence.fil and expects it to be in EMBL format. |
| sw:tf_human | Reads the sequence with the ID tf_human from the database sw (Swissprot at EMBnet Norway). |
| asis::actggtaccgattgtaacaccgatatatcg | Reads in the sequence actggtaccgattgtaacaccgatatatcg and works with that. |
| myseq.pep | Reads the file myseq.pep and guesses the sequence format |
user@bioslave ~> pepwheel sw:tf_human Shows protein sequences as helices Graph type [x11]: hfjka ERROR: option -graph: Invalid graph value 'hfjka' Devices allowed are:- postscript ps hpgl hp7470 hp7580 meta colourps cps xwindows x11 tektronics tekt tek4107t tek none null text data xterm png Graph type [x11]: |
| Graph associated qualifiers | Allowed values | Default | Description | |
|---|---|---|---|---|
| -graph | Graph type | EMBOSS has a list of known devices, including postscript, ps, hpgl, hp7470, hp7580, meta, colourps, cps, xwindows, x11, tektronics, tekt, tek4107t, tek, none, null, text, data, xterm, png | EMBOSS_GRAPHICS value, or x11 | The graphics device or format to which images should be output |
| -gprompt | bool value | Yes/No | prompt for graph associated qualifiers | |
| -gtitle | string value | Any string is accepted | An empty string is accepted | The graph title |
| -gsubtitle | string value | Any string is accepted | An empty string is accepted | The graph subtitle |
| -gxtitle | string value | Any string is accepted | An empty string is accepted | The x axis title |
| -gytitle | string value | Any string is accepted | An empty string is accepted | The y axis title |
| -grtitle | string value | Any string is accepted | An empty string is accepted | The graph running title |
| -gpages | integer value | Any integer value | 0 | Number of pages over which to print the graph |
| -goutfile | string value | Any string is accepted | An empty string is accepted | The filename to which graphics output should be saved |
| On-screen options | |
| xwindows x11 xterm | Draw output on an X-windows terminal screen. This option requires X-windows either natively (Linux/Unix) or using an X-emulator. |
| tektronics tekt tek4107t tek | Draw output on a Tektronics terminal screen. This option requires a tektronics terminal either natively or using an emulator. |
| Graphics File formats | |
| png | Write the output to a file in PNG format (good for web pages and for importing into presentations) |
| postscript ps | Write output in black and white postscript to a file. |
|
hpgl hp7470 hp7580 | Write output in Hewlett-Packard Graphics Language to a file. (can then be printed on a HP Laserjet) |
| meta | Write output in meta format to a file. |
|
colourps cps | Write output in colour postscript to a file. |
| Text file formats | |
| text | Write an ASCII representation of the output in a text file |
| data | Write the data for an xygraph to a file for import into other plotting programs (eg gnuplot) |
| Other formats | |
|
none null | Suppress graphical output |