The command line application produces "png"-graphs.
After downloading the application can be started by entering
java -jar sbgcmd.jar -input files [-order o] [-info n,n,...] [-width n] [-min n -max n] [-ql n]in a terminal.
This application takes a set of blast output of the following format
Column | Name |
---|---|
0 | query name |
1 | subject name |
2 | percent identities |
3 | aligned length |
4 | number of mismatched positions |
5 | number of gap positions |
6 | query sequence start |
7 | query sequence end |
8 | subject sequence start |
9 | subject sequence end |
10 | e-value |
11 | bit score |
Example
SAM50_AMEBA SAM50_AMEBA 100.00 118 0 0 1 118 1 118 9e-67 243 SAM50_AMEBA gi|126338997|ref|XP_001362470.1| 29.66 118 70 4 3 115 151 260 4e-09 52.4 SAM50_AMEBA gi|114686851|ref|XP_001172164.1| 28.81 118 71 4 3 115 72 181 1e-08 50.8
Despite the graphical version the command line version generates graph files in the following way: for every different query name all entries are put together and written in a separate "png" file in the same directory as the input file(s). The output filenames are generated using following rule
inputfilename + "_" + query_name + ".png"The start and end positions are used for ordering.
Note: the output filenames will contain only valid letters, so they will not have any german or other special language character or "|", ":" inside! This avoids problems with filenaming on different operating systems!
Assume input file called "input2" with following content
SAM50|AMEBA SAM50_AMEBA 100.00 118 0 0 1 118 1 118 9e-67 243 SAM50|AMEBA XP|001362470.1 29.66 118 70 4 3 115 151 260 4e-09 52.4 SAM50|AMEBA XP|001172164.1 28.81 118 71 4 3 115 72 181 1e-08 50.8 SAMxx:AMEBA SAM51_AMEBA 100.00 118 0 0 1 118 1 118 9e-67 243 SAMxx:AMEBA XP|001362470.1 29.66 118 70 4 3 115 151 260 4e-09 52.4
The output files(s) have (start with) the same name as the input file(s) and will be written in the same directory. For every different query name the will be an output file. In this case two files: "input2-SAM50_AMEBA.png" and "input2-SAMxx_AMEBA.png".
The command
java -jar sbgcmd.jar -input input2produces following graphs