| 1 |
.TH SIM4DB 1 "January 2016" |
| 2 |
.SH NAME |
| 3 |
sim4db \- batch spliced alignment of cDNA sequences to a target genome |
| 4 |
.SH SYNOPSIS |
| 5 |
A simple command line invocation: |
| 6 |
|
| 7 |
sim4db -genomic g.fasta -cdna c.fasta -scr script -output o.sim4db |
| 8 |
|
| 9 |
where: |
| 10 |
- 'c.fasta' and 'g.fasta' are the multi-fasta cDNA and genome sequence files |
| 11 |
- 'script' is a script file indicating individual alignments to be computed |
| 12 |
- output in sim4db format will be sent to the file 'o.sim4db' ('-' for standard output) |
| 13 |
|
| 14 |
|
| 15 |
A more complex invocation: |
| 16 |
|
| 17 |
sim4db -genomic g.fasta -cdna c.fasta -output o.sim4db [options] |
| 18 |
.SH DESCRIPTION |
| 19 |
.B sim4db |
| 20 |
performs fast batch alignment of large cDNA (EST, mRNA) sequence |
| 21 |
sets to a set of eukaryotic genomic regions. It uses the sim4 and sim4cc |
| 22 |
algorithms to determine the alignments, but incorporates a fast sequence |
| 23 |
indexing and retrieval mechanism, implemented in the sister package |
| 24 |
.BR leaff (1), |
| 25 |
to speedily process large volumes of sequences. |
| 26 |
.PP |
| 27 |
While |
| 28 |
.B sim4db |
| 29 |
produces alignments in the same way as sim4 or sim4cc, it |
| 30 |
has additional features to make it more amenable for use with whole-genome |
| 31 |
annotation pipelines. A script file can be used to group pairings between |
| 32 |
cDNAs and their corresponding genomic regions, to be aligned as one run |
| 33 |
and using the same set of parameters. Sim4db also optionally reports more |
| 34 |
than one alignment for the same cDNA within a genomic region, as long |
| 35 |
as they meet user-defined criteria such as minimum length, percentage |
| 36 |
sequence identity or coverage. This feature is instrumental in finding |
| 37 |
all alignments of a gene family at one locus. Lastly, the output is |
| 38 |
presented either as custom sim4db alignments or as GFF3 gene features. |
| 39 |
|
| 40 |
.SH OPTIONS |
| 41 |
Salient options: |
| 42 |
-cdna use these cDNA sequences (multi-fasta file) |
| 43 |
-genomic use these genomic sequences (multi-fasta file) |
| 44 |
-script use this script file |
| 45 |
-pairwise sequentially align pairs of sequences |
| 46 |
|
| 47 |
If none of the '-script' and '-pairwise' options |
| 48 |
is specified, sim4db performs all-against-all |
| 49 |
alignments between pairs of cDNA and genomic sequences. |
| 50 |
|
| 51 |
-output write output to this file |
| 52 |
-gff3 report output in GFF3 format |
| 53 |
-interspecies use sim4cc for inter-species alignments (default sim4) |
| 54 |
|
| 55 |
Filter options: |
| 56 |
-mincoverage iteratively find all exon models with the specified |
| 57 |
minimum PERCENT COVERAGE |
| 58 |
-minidentity iteratively find all exon models with the specified |
| 59 |
minimum PERCENT EXON IDENTITY |
| 60 |
-minlength iteratively find all exon models with the specified |
| 61 |
minimum ABSOLUTE COVERAGE (number of bp matched) |
| 62 |
(default 0) |
| 63 |
-alwaysreport always report <number> exon models, even if they |
| 64 |
are below the quality thresholds |
| 65 |
|
| 66 |
If no mincoverage or minidentity or minlength is given, only |
| 67 |
the best exon model is returned. This is the DEFAULT operation. |
| 68 |
|
| 69 |
You will probably want to specify ALL THREE of mincoverage, |
| 70 |
minidentity and minlength! Don't assume the default values |
| 71 |
are what you want! |
| 72 |
|
| 73 |
You will DEFINITELY want to specify at least one of mincoverage, |
| 74 |
minidentity and minlength with alwaysreport! If you don't, |
| 75 |
mincoverage will be set to 90 and minidentity to 95 -- to reduce |
| 76 |
the number of spurious matches when a good match is found. |
| 77 |
|
| 78 |
Auxiliary options: |
| 79 |
-nodeflines don't include the defline in the sim4db output |
| 80 |
-alignments print alignments |
| 81 |
|
| 82 |
-polytails DON'T mask poly-A and poly-T tails |
| 83 |
-cut trim marginal exons if A/T % > x (poly-AT tails) |
| 84 |
|
| 85 |
-noncanonical don't force canonical splice sites |
| 86 |
-splicemodel use the following splice model: 0 - original sim4; |
| 87 |
1 - GeneSplicer; 2 - Glimmer; options 1 and 2 are |
| 88 |
only available with '-interspecies'. |
| 89 |
Default for sim4 is 0, and for sim4cc is 1. |
| 90 |
|
| 91 |
-forcestrand Force the strand prediction to always be |
| 92 |
one of 'forward' or 'reverse' |
| 93 |
|
| 94 |
Execution options: |
| 95 |
-threads Use n threads. |
| 96 |
-touch create this file when the program finishes execution |
| 97 |
|
| 98 |
Debugging options: |
| 99 |
-v print status to stderr while running |
| 100 |
-V print script lines (stderr) as they are being processed |
| 101 |
|
| 102 |
Developer options: |
| 103 |
-Z set the spaced seed pattern |
| 104 |
-H set the relink weight factor (H=1000 recommended for mRNAs) |
| 105 |
-K set the first MSP threshold |
| 106 |
-C set the second MSP threshold |
| 107 |
-Ma set the limit of the number of MSPs allowed |
| 108 |
-Mp same, as percentage of bases in cDNA |
| 109 |
NOTE: If used, both -Ma and -Mp must be specified! |
| 110 |
.SH SEE ALSO |
| 111 |
README.sim4db |
| 112 |
.br |
| 113 |
http://kmer.sourceforge.net/wiki/index.php/Getting_Started_with_Sim4db |
| 114 |
.PP |
| 115 |
The |
| 116 |
.BR sim4dbutils(1) |
| 117 |
package contains a range of utilities to work with |
| 118 |
sim4db-generated alignment files, of particular note being |
| 119 |
.BR convertPolishes (1), |
| 120 |
.BR filterPolishes (1), |
| 121 |
.BR mergePolishes (1), |
| 122 |
and |
| 123 |
.BR sortPolishes (1) |