Skip to content

Commit 0844684

Browse files
authored
Merge pull request #181 from BackofenLab/dev
v3.2.0
2 parents cee06fc + 8f61637 commit 0844684

24 files changed

+1827
-494
lines changed

ChangeLog

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,84 @@
1010
# changes in development version since last release
1111
################################################################################
1212

13+
14+
1315
################################################################################
1416
################################################################################
1517

18+
################################################################################
19+
### version 3.2.0
20+
################################################################################
21+
22+
# IntaRNA
23+
- BUGFIX: accessibility blocking constraints were only applied to seed location
24+
- improved Zall estimate (and depending values) for `--model=X` (default)
25+
- new arguments:
26+
- `qId|tId` : optional id (FASTA prefix) setup for sequence naming
27+
- `acc|accW|accL` : meta accessibility setup for both query and target
28+
- `intLenMax|intLoopMax` : meta interaction and interior loop length setup
29+
30+
# CopomuS
31+
- Compensatory mutation selector to support interaction validation experiments
32+
33+
################################################################################
34+
35+
200302 Martin Raden
36+
* IntaRNA/IndexRange :
37+
* fromString() :
38+
* bugfix: + missing parsing of negative indices
39+
* IntaRNA/InteractionEnergy :
40+
* areComplementary() :
41+
+ check if both positions are accessible (to avoid additional checks in
42+
predictor recursions)
43+
* bin/IntaRNA :
44+
* ambiguous nt warning now in verbose log (was info log)
45+
46+
200217 Martin Raden
47+
* bin/CommandLineParsing :
48+
* NumericParameter :
49+
* CharParameter :
50+
+ isSet() : checks if value and default differ
51+
+ qId|tId : id (prefix) for sequence naming
52+
+ acc|accW|accL : meta for q|t*
53+
+ intLenMax|intLoopMax : meta for q|t*
54+
* resetParamDefault() :
55+
+ overwrite value (since set to default in constructor)
56+
+ validate_region|shape|shapeMethod|shapeConversion : generic checks for q|t
57+
+ validate_seedRange : generic checks for q|t
58+
+ validate_numberArgumentExcludeRange() : generic check excluding a range
59+
+ validate_id() : checks for line breaks in q|tId
60+
* parseSequences() :
61+
* parseSequencesFasta() :
62+
+ idPrefix handling
63+
- obsolete functions
64+
- validate_query|target
65+
- validate_qAccW|L|Constr
66+
- validate_q|tRegion|Shape|ShapeMethod|ShapeConversion
67+
- validate_seedQ|TRange
68+
* constructor() :
69+
+ extended default reset for new arguments
70+
* q|tAcc* arguments now hidden
71+
* validation calls refactored
72+
+ model|acc|intLenMax|intLoopMax now general arguments
73+
* parse() :
74+
+ additional checks for meta arguments with setup of q|t variables
75+
+ usage of .isSet() where appropriate
76+
+ check that outSep is not within id prefix in outMode=C
77+
+ ensure intLenMax >= seedBP
78+
79+
200207 Martin Raden + Fabio Gutmann
80+
+ python/CopomuS.py : Compensatory mutation selector to support interaction
81+
validation experiments
82+
+ python/copomus/* : utility functions of CopomuS
83+
* python/README.md : links to dedicated README.md of subfolders
84+
85+
200131 Martin Raden
86+
* IntaRNA/PredictorMfe2dHeuristicSeedExtension :
87+
* fillHybridE_left() :
88+
+ extended Zall update (additional save cases considered)
89+
90+
1691
################################################################################
1792
### version 3.1.5
1893
################################################################################

README.md

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ not needed to be installed separately):
193193

194194
The data provided within the github repository
195195
(or within the `Source code` archives provided at the
196-
[IntaRNA release page](https://github.com/BackofenLab/IntaRNA/releases))
196+
[IntaRNA release page](https://github.com/BackofenLab/IntaRNA/releases/latest))
197197
is no complete distribution and
198198
lacks all system specifically generated files. Thus, in order to get started with
199199
a fresh clone of the IntaRNA source code repository you have to run the GNU autotools
@@ -214,7 +214,7 @@ Afterwards, you can continue as if you would have downloaded an
214214
## IntaRNA package distribution (e.g. `intaRNA-2.0.0.tar.gz`)
215215

216216
When downloading an IntaRNA package distribution (e.g. `intaRNA-2.0.0.tar.gz`) from the
217-
[IntaRNA release page](https://github.com/BackofenLab/IntaRNA/releases), you should
217+
[IntaRNA release page](https://github.com/BackofenLab/IntaRNA/releases/latest), you should
218218
first ensure, that you have all [dependencies](#deps) installed. If so, you can
219219
simply run the following (assuming `bash` shell).
220220
```bash
@@ -277,10 +277,10 @@ and follow either [install from github](#instgithub) or
277277
### ... using pre-compiled binaries
278278

279279
For some releases, we also provide precompiled binary packages for Microsoft Windows at the
280-
[IntaRNA release page](https://github.com/BackofenLab/IntaRNA/releases)
280+
[IntaRNA release page](https://github.com/BackofenLab/IntaRNA/releases/latest)
281281
that enable 'out-of-the-box' usage. If you
282282
want to use them:
283-
- [download](https://github.com/BackofenLab/IntaRNA/releases) the according ZIP archive and extract
283+
- [download](https://github.com/BackofenLab/IntaRNA/releases/latest) the according ZIP archive and extract
284284
- open a [Windows command prompt](https://www.lifewire.com/how-to-open-command-prompt-2618089)
285285
- [run IntaRNA](#usage)
286286

@@ -331,7 +331,7 @@ brew install viennarna
331331
brew install doxygen
332332
```
333333

334-
Download and extract the IntaRNA source code package (e.g. `intaRNA-2.0.2.tar.gz`) from the [release page](releases/).
334+
Download and extract the IntaRNA source code package (e.g. `intaRNA-2.0.2.tar.gz`) from the [release page](https://github.com/BackofenLab/IntaRNA/releases/latest).
335335

336336
```[bash]
337337
./configure CC=gcc-6 CXX=g++-6
@@ -412,9 +412,12 @@ interaction energy = -10.85 kcal/mol
412412

413413
```
414414

415-
or provide (multiple) sequence(s) in [FASTA-format](#https://en.wikipedia.org/wiki/FASTA_format).
416-
It is possible to provide either file input or to read the FASTA input from the
417-
STDIN stream.
415+
In case you need specific RNA names in your output, you can provide ID strings
416+
for each RNA using e.g. `--tId="mRNA with GC"` or `--qId="sRNA-example"`.
417+
418+
Multiple sequences can be provided in [FASTA-format](#https://en.wikipedia.org/wiki/FASTA_format).
419+
It is possible to use either file input or to read the FASTA input from the
420+
`STDIN` stream.
418421

419422
```bash
420423
# running IntaRNA with FASTA files
@@ -497,10 +500,8 @@ mode = M
497500
# no seed constraint
498501
noSeed = true
499502
# full global accessibility computation
500-
qAccW = 0
501-
qAccL = 0
502-
tAccW = 0
503-
tAccL = 0
503+
accW = 0
504+
accL = 0
504505
```
505506

506507
where you use the long parameter names without the leading `--`.
@@ -750,7 +751,7 @@ by running IntaRNA when disabling both the seed constraint
750751
as well as the accessibility integration using
751752
```bash
752753
# prediction results similar to TargetScan/RNAhybrid
753-
IntaRNA [..] --noSeed --qAcc=N --tAcc=N
754+
IntaRNA [..] --noSeed --acc=N
754755
```
755756
We *add seed-constraint support to TargetScan/RNAhybrid-like computations* by removing the
756757
`--noSeed` flag from the above call.
@@ -767,7 +768,7 @@ Finally, RNAup only predicts interactions for subsequences of length 25.
767768
All this can be setup using
768769
```bash
769770
# prediction results similar to 'RNAup -b' (incorporating accessibility of both RNAs)
770-
IntaRNA --mode=M --noSeed --qAccW=0 --qAccL=0 --qIntLenMax=25 --tAccW=0 --tAccL=0 --tIntLenMax=25
771+
IntaRNA --mode=M --noSeed --accW=0 --accL=0 --intLenMax=25
771772
```
772773
We *add seed-constraint support to RNAup-like computations* by removing the
773774
`--noSeed` flag from the above call.
@@ -1055,10 +1056,10 @@ which results in two shorter ranges. If a range is shorter than `--seedBP`, it
10551056
is completely removed.
10561057

10571058
Finally, it is possible to restrict the overall length an interaction is allowed
1058-
to have. This can be done independently for the query and target sequence using
1059-
`--qIntLenMax` and `--tIntLenMax`, respectively. By setting both to 0 (default),
1059+
to have via `--intLenMax`. This can be done independently for the query and target sequence using
1060+
`--qIntLenMax` and `--tIntLenMax`, respectively. By setting to 0 (default),
10601061
the smaller of the full sequence length and the maximal accessibility-window
1061-
size (`--tAccW`, `--qAccW`) is used.
1062+
size is used (see `--accW`, `--tAccW`, or `--qAccW`).
10621063

10631064

10641065

@@ -1610,8 +1611,8 @@ If no value for `--energyVRNA` is provided, the default model of the underlying
16101611
Vienna RNA package is used (see respective documentation).
16111612

16121613
To increase prediction quality and to reduce the computational complexity, the
1613-
number of unpaired bases between intermolecular base pairs is restricted
1614-
(similar to internal loop length restrictions in single RNA folding algorithm). The
1614+
number of unpaired bases between intermolecular base pairs is restricted via
1615+
`--intLoopMax` (similar to internal loop length restrictions in single RNA folding algorithm). The
16151616
upper bound can be set independently for the query and target sequence via
16161617
`--qIntLoopMax` and `--tIntLoopMax`, respectively, and defaults to 16.
16171618

@@ -1856,10 +1857,11 @@ penalty for a subsequence partaking in an interaction is given by *ED=-RT log(Pu
18561857
where *Pu* denotes the unpaired probability of the subsequence. Within the
18571858
IntaRNA energy model, *ED* values for both interacting subsequences are considered.
18581859

1859-
Accessibility incorporation can be disabled for query or target sequences using
1860+
To globally turn off accessibility consideration, set `--acc=N`.
1861+
Accessibility incorporation can be disabled separately for query or target sequences using
18601862
`--qAcc=N` or `--tAcc=N`, respectively.
18611863

1862-
A setup of `--qAcc=C` or `--tAcc=C` (default) enables accessibility computation
1864+
A setup of `--acc=C` (default, as for `--qAcc=C` and `--tAcc=C`) enables accessibility computation
18631865
using the selected [energy model](#energy) for query or target sequences, respectively.
18641866

18651867
Using `--accNoLP` and `--accNoGUend`, the consideration of lonely base pairs
@@ -1885,7 +1887,8 @@ unpaired probabilities within the window (while only intramolecular base pairs
18851887
within the window are considered).
18861888

18871889
IntaRNA enables both global as well as local unpaired probability computation.
1888-
To this end, the sliding window length has to be specified in order to enable/disable
1890+
To this end, the sliding window length `--accW` and the maximal base pair span
1891+
`--accL` (<= `--accW`) have to be specified in order to enable/disable
18891892
local folding.
18901893

18911894
##### Use case examples global/local unpaired probability computation
@@ -1899,7 +1902,7 @@ i.e. the maximal number of positions enclosed by a base pair
18991902
independently while respecting `AccL <= AccW`.
19001903
```bash
19011904
# using global accessibilities for target and query
1902-
IntaRNA [..] --qAccW=0 --qAccL=0 --tAccW=0 --qAccL=0
1905+
IntaRNA [..] --accW=0 --accL=0
19031906
# using global accessibilities for query and local ones for target
19041907
IntaRNA [..] --qAccW=0 --qAccL=0 --tAccW=150 --qAccL=100
19051908
```

configure.ac

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11

22
AC_PREREQ([2.65])
33
# 5 argument version only available with aclocal >= 2.64
4-
AC_INIT([IntaRNA], [3.1.5], [], [intaRNA], [http://www.bioinf.uni-freiburg.de] )
4+
AC_INIT([IntaRNA], [3.2.0], [], [intaRNA], [http://www.bioinf.uni-freiburg.de] )
55

66
# minimal required version of the boost library
77
BOOST_REQUIRED_VERSION=1.50.0
88
# minimal required version of the Vienna RNA library
99
VRNA_REQUIRED_VERSION=2.4.14
10-
# minimal required version of python interpreter
10+
# minimal required version of python interpreter (to install intarnapvalue)
1111
PYTHON_REQUIRED_VERSION=3.6
1212

1313

@@ -436,6 +436,7 @@ AC_CONFIG_FILES([R/Makefile])
436436
AC_CONFIG_FILES([python/Makefile])
437437
AC_CONFIG_FILES([python/bin/Makefile])
438438
AC_CONFIG_FILES([python/intarnapvalue/Makefile])
439+
AC_CONFIG_FILES([python/copomus/Makefile])
439440
AC_CONFIG_FILES([tests/Makefile])
440441
AC_CONFIG_FILES([tests/data/Makefile])
441442
AC_CONFIG_FILES([doc/Makefile])

0 commit comments

Comments
 (0)