Skip to content

Commit 6191ee1

Browse files
author
Digp
committed
Updating package for publication. Commit 1
1 parent 4628b46 commit 6191ee1

8 files changed

+6
-14
lines changed

Diff for: FigurePaper/exampleA/dependencies.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ function(ntIDs) {
2121
return(rmsd(pdb1$xyz[,sel1$xyz],fit[,sel2$xyz]))
2222
}
2323

24-
## "filter_pyle" reproduces the iterative process of RMSD comparison to chose
24+
## "filter_helical" reproduces the iterative process of RMSD comparison to chose
2525
## an helical nucleotide of reference
26-
filter_pyle <-
26+
filter_helical <-
2727
function(ntinfo, helicalntID, RMSD, bandwidths=c(40,40), cutoff=0.85) {
2828

2929
twideMatrix <- t(acast(RMSD, nt1~nt2, value.var="rmsd"))

Diff for: FigurePaper/exampleA/etatheta.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ cat("Getting data\n")
2121
## ----------------------------------------------------------------------------
2222

2323
## Get latest Leontist non-redundant list of RNA structures
24-
infochains <- getLeontisList(threshold="2.5A", as.df=TRUE)
24+
infochains <- getRNAList(threshold="2.5A", as.df=TRUE)
2525

2626
## Get structural data
2727
ntinfo <- pipeNucData(pdbID=infochains$pdb, model=infochains$model,
@@ -56,7 +56,7 @@ RMSD_calc <- apply(FUN=pwrmsd, MARGIN=1, X=pairwise)
5656
RMSD <- data.frame(nt1=pairwise[, 1], nt2=pairwise[, 2], rmsd=RMSD_calc)
5757

5858
## Apply Pyle method
59-
ref <- filter_pyle(ntinfo=ntinfo, helicalntID=HDR[[1]], RMSD=RMSD)
59+
ref <- filter_helical(ntinfo=ntinfo, helicalntID=HDR[[1]], RMSD=RMSD)
6060

6161
pairs <- data.frame(usefulnt=usefulnt, reference=rep(ref, length(usefulnt)))
6262
RMSD2 <- apply(FUN=pwrmsd, MARGIN=1, X=pairs)

Diff for: README.md

+2-10
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ VeriNA3d is an R package for the analysis of Nucleic Acid structural data. The s
77
## Installation
88
---------------
99

10-
Instructions for Unix systems
10+
Instructions
1111

1212
1- Make sure you have all the dependencies already installed in R. If not the case, open R and run:
1313
&nbsp;
@@ -16,17 +16,9 @@ Instructions for Unix systems
1616

1717
2- Install veriNA3d according with your R version:
1818

19-
For R >= 3.5
2019
&nbsp;
2120

22-
install.packages("http://mmb.irbbarcelona.org/gitlab/dgallego/veriNA3d/raw/master/veriNA3d_R-3.5.tar.gz", repos = NULL)
23-
24-
If you have R-3.4:
25-
&nbsp;
26-
27-
install.packages("http://mmb.irbbarcelona.org/gitlab/dgallego/veriNA3d/raw/master/veriNA3d_R-3.4.tar.gz", repos = NULL)
28-
29-
The whole package has been developed and tested in R-3.5, which makes it the recommended option. Furthermore, using R-3.5 speeds up the cifParser function, which has a dramatic effect when working with large mmCIF files. The package has been also made available for R-3.4 since some unix users are experiencing problems when installing R-3.5.
21+
install.packages("http://mmb.irbbarcelona.org/gitlab/dgallego/veriNA3d/raw/master/veriNA3d.tar.gz", repos = NULL)
3022

3123
3- To start using it, just load the package!
3224
&nbsp;

Diff for: veriNA3d-manual.pdf

2.48 KB
Binary file not shown.

Diff for: veriNA3d-vignettes.pdf

409 KB
Binary file not shown.

Diff for: veriNA3d.tar.gz

1.73 MB
Binary file not shown.

Diff for: veriNA3d_R-3.4.tar.gz

-438 KB
Binary file not shown.

Diff for: veriNA3d_R-3.5.tar.gz

-438 KB
Binary file not shown.

0 commit comments

Comments
 (0)