| 1 |
.TH CREATE_MATRIX "1" "February 2014" "create_matrix SVNr18" "User Commands" |
| 2 |
.SH NAME |
| 3 |
create_matrix \- calculate the genome abundance similarity matrix |
| 4 |
.SH SYNOPSIS |
| 5 |
.B create_matrix |
| 6 |
[\fIoptions\fR] \fINAMES\fR |
| 7 |
.SH DESCRIPTION |
| 8 |
Calculate the similarity matrix. |
| 9 |
.PP |
| 10 |
First, a set of reads is simulated for every reference genome using a read |
| 11 |
simulator from core/tools.py specified via \fB\-s\fR. |
| 12 |
Second, the simulated reads of each species are mapped against all reference |
| 13 |
genomes using the mapper specified with \fB\-m\fR. |
| 14 |
Third, the resulting SAM\-files are analyzed to calculate the similarity |
| 15 |
matrix. The similarity matrix is stored as a numpy file (\fB\-o\fR). |
| 16 |
.SH OPTIONS |
| 17 |
.TP |
| 18 |
\fBNAMES\fR |
| 19 |
Filename of the names file; the plain text names file should |
| 20 |
contain one name per line. The name is used as identifier in |
| 21 |
the whole algorithm. |
| 22 |
.TP |
| 23 |
\fB\-h\fR, \fB\-\-help\fR |
| 24 |
show this help message and exit |
| 25 |
.TP |
| 26 |
\fB\-s\fR SIMULATOR, \fB\-\-simulator\fR=\fISIMULATOR\fR |
| 27 |
Identifier of read simulator defined in core/tools.py |
| 28 |
[default: none] |
| 29 |
.TP |
| 30 |
\fB\-r\fR REF, \fB\-\-reference\fR=\fIREF\fR |
| 31 |
Reference sequence file pattern for the read |
| 32 |
simulator. Placeholder for the name is "%s". [default: |
| 33 |
\&./ref/%s.fasta] |
| 34 |
.TP |
| 35 |
\fB\-m\fR MAPPER, \fB\-\-mapper\fR=\fIMAPPER\fR |
| 36 |
Identifier of mapper defined in core/tools.py |
| 37 |
[default: none] |
| 38 |
.TP |
| 39 |
\fB\-i\fR INDEX, \fB\-\-index\fR=\fIINDEX\fR |
| 40 |
Reference index files for the read mapper. Placeholder |
| 41 |
for the name is "%s". [default: ./ref/%s.fasta] |
| 42 |
.TP |
| 43 |
\fB\-t\fR TEMP, \fB\-\-temp\fR=\fITEMP\fR |
| 44 |
Directory to store temporary simulated datasets and |
| 45 |
SAM files. [default: ./temp] |
| 46 |
.TP |
| 47 |
\fB\-o\fR OUT, \fB\-\-output\fR=\fIOUT\fR |
| 48 |
Output similarity matrix file. [default: |
| 49 |
\&./similarity_matrix.npy] |