Skip to content

Commit c7b50f5

Browse files
authored
Merge pull request #200 from BackofenLab/dev
v2.3.2
2 parents 4c7fa7f + c0567fb commit c7b50f5

25 files changed

+6788
-74
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Create conda environement
2020
run: |
2121
source `conda info --base`/etc/profile.d/conda.sh
22-
conda create -q -n build-IntaRNA -c conda-forge -c bioconda gcc_linux-64 gxx_linux-64 boost-cpp libboost viennarna>=2.4.14 pkgconfig
22+
conda create -q -n build-IntaRNA -c conda-forge -c bioconda gcc_linux-64 gxx_linux-64 boost-cpp viennarna>=2.4.14 pkgconfig
2323
conda activate build-IntaRNA
2424
- name: Script
2525
run: |
@@ -28,11 +28,19 @@ jobs:
2828
# generate autotools's files
2929
bash autotools-init.sh
3030
# run configure (without boost checks)
31-
./configure --prefix=$HOME/IntaRNA --with-vrna=`conda info --base`/envs/build-IntaRNA --with-boost=no --without-zlib
31+
ENVPREFIX=`conda info --base`/envs/build-IntaRNA
32+
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ENVPREFIX/lib
33+
./configure \
34+
--prefix=$HOME/IntaRNA \
35+
--with-vrna=$ENVPREFIX \
36+
--with-boost=$ENVPREFIX \
37+
--with-boost-libdir=$ENVPREFIX/lib \
38+
--with-zlib=$ENVPREFIX
3239
# compile documentation
3340
# - make doxygen-doc
3441
# compile, test and install IntaRNA
35-
make -j 2 && make tests -j 2 && make install
42+
make -j 2 && make install
43+
make tests -j 2
3644
##### check IntaRNA build #####
3745
# run installed IntaRNA with help output
3846
$HOME/IntaRNA/bin/IntaRNA -h

ChangeLog

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

13+
14+
################################################################################
15+
### version 3.2.2
16+
################################################################################
17+
1318
# IntaRNA
19+
- BUGFIX: maximal interaction length correction for precomputed accessibility
20+
data was one to large (wrong dangling end computation for maximally long RRIs)
21+
(thanks to Sabine Reisser)
22+
- BUGFIX: explicit seed encodings within last 7 nucleotides (seedBP) were
23+
ignored (thanks to Sebastian Holler)
24+
- BUGFIX: outNoLP option was not correctly implemented (missing recursion cases)
25+
and was thus missing interactions
26+
- BUGFIX: osx: configure adaptation to old grep version in osx
1427

1528
################################################################################
1629
################################################################################
1730

31+
220110 Martin Raden
32+
* configure.ac :
33+
* rewrite of grep personality call to be compatible with old grep version on osx
34+
35+
201204 Simon Bray (thanks!) :
36+
* replace travis with github action
37+
38+
210211 Martin Raden
39+
* IntaRNA/SeedConstraint :
40+
* constructor: bp>2 check only if no explicit seed present
41+
* IntaRNA/SeedHandlerExplicit :
42+
- getSeedMaxBP() : obsolete, replaced by getSeedMinBP()
43+
+ getSeedMinBP() : minimal number of bps within encoded seeds; used for seed
44+
constraint initialization
45+
* traceBackSeed() :
46+
* bugfix: check for minimal seed length sufficient on one side
47+
* bin/CommandLineParsing :
48+
* seedBP now set to getSeedMinBP() if explicit seeds present
49+
* bin/IntaRNA :
50+
* exception information now motivates to send input along with report
51+
+ docs/recursions : recursion depictions for sanity checks of implementations
52+
+ PredictorMfe2d (+outNoLP)
53+
+ PredictorMfe2dSeed (+outNoLP)
54+
* IntaRNA/PredictorMfe2dSeed :
55+
* IntaRNA/PredictorMfe2dHeuristic :
56+
* IntaRNA/PredictorMfe2dHeuristicSeed :
57+
* IntaRNA/PredictorMfeEns2dHeuristic :
58+
* bugfix outNoLP : missing recursion cases
59+
* IntaRNA/AccessibilityFromStream :
60+
* bugfix read from stream
61+
* test updated
62+
63+
201210 Martin Raden
64+
* IntaRNA/AccessibilityFromStream :
65+
* bugfix: max length == 1 smaller than max-accessibility-data-length due to
66+
dangling-end treatment (thanks to Sabine Reisser)
1867

1968
################################################################################
2069
### version 3.2.1
@@ -35,6 +84,8 @@
3584
* bin/CommandLineParsing :
3685
* changing import and usage of boost::bind and boost::placeholders namespace
3786
(thanks to Behra Phani Rama Krishna)
87+
* R/IntaRNA_plotRegions.R :
88+
* replace deprecated expand_scale() with expansion()
3889

3990
200615 Martin Raden
4091
* IntaRNA/OutputConstraint :

R/IntaRNA_plotRegions.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ coveragePlot =
123123
geom_density() +
124124
ylab("coverage") +
125125
xlab( ifelse( is.null(title) , "position" , title ) ) +
126-
scale_y_continuous(position = "right", expand=expand_scale(mult = c(0, .02))) +
126+
scale_y_continuous(position = "right", expand=expansion(mult = c(0, .02))) +
127127
scale_x_continuous(expand = c(0, 0), limits=c(xmin,xmax));
128128

129129
if (!is.null(title)) {

README.md

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,17 +1182,42 @@ molecule. IntaRNA supports such data by interfacing the Vienna RNA package
11821182
capabilities for SHAPE reactivity data incorporation, see
11831183
Lorenz et al. ([2015](https://doi.org/10.1093/bioinformatics/btv523), [2016](https://dx.doi.org/10.1186%2Fs13015-016-0070-z)) or the
11841184
[RNAfold manpage](https://www.tbi.univie.ac.at/RNA/RNAfold.1.html).
1185+
To use this feature, ViennaRNA-based accessibility computation is needed,
1186+
i.e. `--t|qAcc=C`, which is the default mode (no action required).
11851187

11861188
The SHAPE reactivity data can be provided via file using `--qShape` or
1187-
`--tShape` for query or target sequence, respectively.
1188-
Independently for each, it is possible
1189+
`--tShape` for query or target sequence, respectively. The input format is a
1190+
space-separated 3-column format providing position, nucleotide and reactivity value as
1191+
exmemplified below.
1192+
1193+
```[bash]
1194+
1 G 0.134
1195+
2 C 0.044
1196+
3 C 0.057
1197+
4 G 0.114
1198+
5 U 0.094
1199+
6 C 0.035
1200+
7 G 0.909
1201+
8 C 0.224
1202+
9 C 0.529
1203+
10 A 1.475
1204+
```
1205+
1206+
Independently for each sequence, it is possible
11891207
to define the methods to be used to convert the data into pseudo energies and
11901208
pairing probabilities. The respective IntaRNA arguments are
11911209
`--qShapeMethod`|`--tShapeMethod`
11921210
and `--qShapeConversion`|`--tShapeConversion`, which mimics the according
11931211
tool arguments in the Vienna RNA package (see e.g. the
11941212
[RNAfold manpage](https://www.tbi.univie.ac.at/RNA/RNAfold.1.html)).
11951213

1214+
An example call that shows the effect of SHAPE data incorporation is given below (assuming the SHAPE data from above is stored in
1215+
the file `data-SHAPE.txt`).
1216+
```[bash]
1217+
IntaRNA -q GCCGUCGCCA -t GCCGUCGCCA --tShape=data-SHAPE.txt --out=qAcc:STDOUT --out=tAcc:STDERR --out=/dev/null
1218+
```
1219+
1220+
11961221
For further details, please refer to our respective publication
11971222

11981223
- [Integration of accessibility data from structure probing into RNA-RNA interaction prediction.](https://doi.org/10.1093/bioinformatics/bty1029)

configure.ac

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

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

66
# minimal required version of the boost library
77
BOOST_REQUIRED_VERSION=1.50.0
@@ -411,7 +411,7 @@ AS_IF([test "$DEPENDENCYNOTFOUND" = "1"], [
411411
##########################################################################
412412

413413
# get available personalities
414-
AC_SUBST([PERSONALITIES],[`grep -P "^\\s+case\\s+IntaRNA\\S+\\s*:\\s*return" ./src/bin/CommandLineParsing.h | sed "s/^\\s*case\\s\\+\\(IntaRNA\\S*\\)\\s\\+:\\s\\+return.*/\\1/g" | tr "\\n" " "`])
414+
AC_SUBST([PERSONALITIES],[`grep "^\\s*case\\s*IntaRNA\\S*\\s*:\\s*return" ./src/bin/CommandLineParsing.h | sed "s/^\\s*case\\s\\+\\(IntaRNA\\S*\\)\\s\\+:\\s\\+return.*/\\1/g" | tr "\\n" " "`])
415415
##########################################################################
416416

417417

@@ -476,4 +476,4 @@ You can run 'make', 'make tests' and 'make install' now!
476476
Run 'make install prefix=XYZ' for installation in an alternative directory.
477477
478478
======================================
479-
])
479+
])

0 commit comments

Comments
 (0)