Browse code

Update README.md

SilviaC7 authored on 21/07/2021 13:46:06 • GitHub committed on 21/07/2021 13:46:06
Showing 1 changed files
... ...
@@ -42,9 +42,9 @@ RGMQL/
42 42
 
43 43
 - [Examples of workflows](Example%20of%20workflows)/ folder containing various use cases
44 44
 - [R](R)/ folder containing all the script files
45
-- [inst](inst)/ folder containing all files that should be copied into the installed R package folder.
46
-- [inst/example](inst/example) folder containing the datasets and other files in order to run correctly all the test.
47
-- [inst/NEWS](inst/NEWS) file report the feature/changes/bugfix for each version. 
45
+- [inst](inst)/ folder containing all files that should be copied into the installed R package folder
46
+- [inst/example](inst/example) folder containing the datasets and other files in order to run correctly all the test
47
+- [inst/NEWS](inst/NEWS) file report the feature/changes/bugfix for each version 
48 48
 - [man](man)/ folder containing R documentation files
49 49
 - [vignettes](vignettes)/ folder containing all the files used to generate correctly the vignette
50 50
 - [vignettes/RGMQL-vignette.R](vignettes/RGMQL-vignette.R) long-form guide to your package
... ...
@@ -52,8 +52,8 @@ RGMQL/
52 52
 - [vignettes/RGMQL-vignette.html](vignettes/RGMQL-vignette.html) vignettes in html
53 53
 - [vignettes/bibliography.bib](vignettes/bibliography.bib) the bibliographic file with list of references used in vignettes
54 54
 - [vignettes/american-medical-association-no-et-al.csl](vignettes/american-medical-association-no-et-al.csl) the citation style language used in vignettes
55
-- [DESCRIPTION](DESCRIPTION) this file stores important/mandatory metadata about RGMQL package.
56
-- [NAMESPACE](NAMESPACE) this file makes your packages self-contained, ensuring that other packages do not interfere with your code, that your code does not interfere with other packages, and that your package works regardless of the environment in which it is running.
55
+- [DESCRIPTION](DESCRIPTION) this file stores important/mandatory metadata about RGMQL package
56
+- [NAMESPACE](NAMESPACE) this file makes your packages self-contained, ensuring that other packages do not interfere with your code, that your code does not interfere with other packages, and that your package works regardless of the environment in which it is running
57 57
 - [README](README.md) the current file
58 58
 
59 59
 
Browse code

Update README.md

SilviaC7 authored on 21/07/2021 13:06:42 • GitHub committed on 21/07/2021 13:06:42
Showing 1 changed files
... ...
@@ -3,6 +3,13 @@ API for calling interactively the GMQL Engine from R-Bioconductor
3 3
 
4 4
 [RGMQL on Bioconductor](https://www.bioconductor.org/packages/release/bioc/html/RGMQL.html)
5 5
 
6
+## About
7
+
8
+RGMQL is a R/Bioconductor package conceived to provide a set of specialized functions to extract, combine, process
9
+and compare omics datasets and their metadata from different and differently localized sources. 
10
+RGMQL is built over the GenoMetric Query Language (GMQL) data management and computational engine, and can leverage its open curated
11
+repository as well as its cloud-based resources, with the possibility of outsourcing computational tasks to GMQL remote services. Furthermore, it overcomes the limits of the GMQL declarative syntax, by guaranteeing a procedural approach in dealing with omics data within the R/Bioconductor environment. But mostly, it provides full interoperability with other packages of the R/Bioconductor framework and extensibility over the most used genomic data structures and processing functions.
12
+
6 13
 ## Requirements
7 14
 
8 15
 The library requires the following:
... ...
@@ -33,7 +40,7 @@ RGMQL/
33 40
 |-- README.md
34 41
 ```
35 42
 
36
-- [Example of workflows](Example%20of%20workflows)/ folder containig various use cases
43
+- [Examples of workflows](Example%20of%20workflows)/ folder containing various use cases
37 44
 - [R](R)/ folder containing all the script files
38 45
 - [inst](inst)/ folder containing all files that should be copied into the installed R package folder.
39 46
 - [inst/example](inst/example) folder containing the datasets and other files in order to run correctly all the test.
... ...
@@ -41,12 +48,13 @@ RGMQL/
41 48
 - [man](man)/ folder containing R documentation files
42 49
 - [vignettes](vignettes)/ folder containing all the files used to generate correctly the vignette
43 50
 - [vignettes/RGMQL-vignette.R](vignettes/RGMQL-vignette.R) long-form guide to your package
44
-- [vignettes/RGMQL-vignette.Rmd](vignettes/RGMQL-vignette.Rmd) the vignettes in markup language
45
-- [vignettes/RGMQL-vignette.html](vignettes/RGMQL-vignette.html) the vignettes in html
46
-- [vignettes/bibliography.bib](vignettes/bibliography.bib) the bibliographic or list of reference file used in vignette
47
-- [vignettes/american-medical-association-no-et-al.csl](vignettes/american-medical-association-no-et-al.csl) the citation style language used in vignette
48
-- [DESCRIPTION](DESCRIPTION) this file store important/mandatory metadata about RGMQL package.
49
-- [NAMESPACE](NAMESPACE) this file make your packages self-contained, ensuring that other packages won’t interfere with your code, that your code won’t interfere with other packages, and that your package works regardless of the environment in which it’s run.
51
+- [vignettes/RGMQL-vignette.Rmd](vignettes/RGMQL-vignette.Rmd) vignettes in markup language
52
+- [vignettes/RGMQL-vignette.html](vignettes/RGMQL-vignette.html) vignettes in html
53
+- [vignettes/bibliography.bib](vignettes/bibliography.bib) the bibliographic file with list of references used in vignettes
54
+- [vignettes/american-medical-association-no-et-al.csl](vignettes/american-medical-association-no-et-al.csl) the citation style language used in vignettes
55
+- [DESCRIPTION](DESCRIPTION) this file stores important/mandatory metadata about RGMQL package.
56
+- [NAMESPACE](NAMESPACE) this file makes your packages self-contained, ensuring that other packages do not interfere with your code, that your code does not interfere with other packages, and that your package works regardless of the environment in which it is running.
57
+- [README](README.md) the current file
50 58
 
51 59
 
52 60
 ## OSX Settings
Browse code

Update README.md

added structure section

Sim1Pall8a authored on 21/07/2021 10:02:18 • GitHub committed on 21/07/2021 10:02:18
Showing 1 changed files
... ...
@@ -12,6 +12,43 @@ The library requires the following:
12 12
 
13 13
 It is recommended the use ot the latest version of RStudio.
14 14
 
15
+## Structure
16
+```
17
+RGMQL/
18
+|-- Example of workflows/
19
+|-- R/
20
+|-- inst/
21
+|   |-- example/
22
+|   |-- NEWS
23
+|-- man/
24
+|-- vignettes/
25
+|   |-- RGMQL-vignette.R
26
+|   |-- RGMQL-vignette.Rmd
27
+|   |-- RGMQL-vignette.html
28
+|   |-- american-medical-association-no-et-al.csl
29
+|   |-- bibliography.bib
30
+|   |-- ....
31
+|-- DESCRIPTION
32
+|-- NAMESPACE
33
+|-- README.md
34
+```
35
+
36
+- [Example of workflows](Example%20of%20workflows)/ folder containig various use cases
37
+- [R](R)/ folder containing all the script files
38
+- [inst](inst)/ folder containing all files that should be copied into the installed R package folder.
39
+- [inst/example](inst/example) folder containing the datasets and other files in order to run correctly all the test.
40
+- [inst/NEWS](inst/NEWS) file report the feature/changes/bugfix for each version. 
41
+- [man](man)/ folder containing R documentation files
42
+- [vignettes](vignettes)/ folder containing all the files used to generate correctly the vignette
43
+- [vignettes/RGMQL-vignette.R](vignettes/RGMQL-vignette.R) long-form guide to your package
44
+- [vignettes/RGMQL-vignette.Rmd](vignettes/RGMQL-vignette.Rmd) the vignettes in markup language
45
+- [vignettes/RGMQL-vignette.html](vignettes/RGMQL-vignette.html) the vignettes in html
46
+- [vignettes/bibliography.bib](vignettes/bibliography.bib) the bibliographic or list of reference file used in vignette
47
+- [vignettes/american-medical-association-no-et-al.csl](vignettes/american-medical-association-no-et-al.csl) the citation style language used in vignette
48
+- [DESCRIPTION](DESCRIPTION) this file store important/mandatory metadata about RGMQL package.
49
+- [NAMESPACE](NAMESPACE) this file make your packages self-contained, ensuring that other packages won’t interfere with your code, that your code won’t interfere with other packages, and that your package works regardless of the environment in which it’s run.
50
+
51
+
15 52
 ## OSX Settings
16 53
 
17 54
 #### before Catalina
Browse code

Update README.md

marcomass authored on 10/06/2021 21:13:51 • GitHub committed on 10/06/2021 21:13:51
Showing 1 changed files
... ...
@@ -59,7 +59,7 @@ java.io.IOException: (null) entry in command string: null chmod 0644
59 59
 may arise.
60 60
 
61 61
 This happens because some Hadoop binary files are missing in Windows 64Bits.
62
-In this case we need to:
62
+In this case you need to:
63 63
 
64 64
 * Open [DownGit](https://minhaskamal.github.io/DownGit/#/home)
65 65
 * Paste the url `https://github.com/steveloughran/winutils/tree/master/hadoop-2.8.1` and download the **winutil-hadoop2.8.1**
Browse code

update with some news

Simone authored on 21/03/2021 14:34:30
Showing 1 changed files
1 1
old mode 100644
2 2
new mode 100755
Browse code

update readme and vignette with windows issue

Simone authored on 25/10/2020 15:42:21
Showing 1 changed files
... ...
@@ -48,24 +48,29 @@ Create environment variable `JAVA_HOME`:
48 48
 
49 49
 ### Errors
50 50
 
51
-be aware that during execution a message  
52
-
53
-`Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 7.0 failed 1 times, most recent failure: Lost task 0.0 in stage 7.0 (TID 59, localhost, executor driver): java.io.IOException: (null) entry in command string: null chmod 0644`
54
-
55
-may arise in some circustances .
56
-
57
-This happens because some binary files are missing for Windows, in this case we need to:
51
+Be aware that during a local-processing execution an error message
52
+```{
53
+Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, 
54
+: org.apache.spark.SparkException: Job aborted due to stage failure: 
55
+Task 0 in stage 7.0 failed 1 times, most recent failure: 
56
+Lost task 0.0 in stage 7.0 (TID 59, localhost, executor driver): 
57
+java.io.IOException: (null) entry in command string: null chmod 0644
58
+```
59
+may arise.
60
+
61
+This happens because some Hadoop binary files are missing in Windows 64Bits.
62
+In this case we need to:
58 63
 
59 64
 * Open [DownGit](https://minhaskamal.github.io/DownGit/#/home)
60
-* Paste the url `https://github.com/steveloughran/winutils/tree/master/hadoop-2.8.1` in above website, and download the **winutil-hadoop2.8.1**
65
+* Paste the url `https://github.com/steveloughran/winutils/tree/master/hadoop-2.8.1` and download the **winutil-hadoop2.8.1**
66
+* Create a directory (for example at ```C:\Program Files\hadoop\bin```. Use a path you wish
67
+* Copy the files from the repository folder **hadoop-2.8.1** into the folder earlier created.
68
+* Create environment variable HADOOP_HOME with value equal to the folder path you copied the binaries.
61 69
 
62 70
 or
63 71
 
64
-* Go to https://github.com/steveloughran/winutils and download the repo and use **winutil-hadoop2.8.1**
65
-
66
-
67
-* Create a directory (example `C:\Program Files\hadoop`) with a folder inside named `bin`
68
-* Get those files and copy them inside the bin subfolder, (copy on `C:\Program Files\hadoop\bin`)
69
-* Create environment variable `HADOOP_HOME` with the path containing those files.
70
-
72
+* Go to [https://github.com/steveloughran/winutils](https://github.com/steveloughran/winutils), download the repository
73
+* Create a directory (for example at ```C:\Program Files\hadoop\bin```. Use a path you wish
74
+* Copy the files from the repository folder **hadoop-2.8.1** into the folder earlier created.
75
+* Create environment variable HADOOP_HOME with value equal to the folder path you copied the binaries.
71 76
 
Browse code

Update README.md

updated readme, add solution for java.io.IOException: (null) entry in command string: null chmod 0644` error n windows

Sim1Pall8a authored on 24/10/2020 13:59:07 • GitHub committed on 24/10/2020 13:59:07
Showing 1 changed files
... ...
@@ -1,23 +1,71 @@
1 1
 # RGMQL
2
+API for calling interactively the GMQL Engine from R-Bioconductor
2 3
 
3
-This package works with java 1.8
4
+[RGMQL on Bioconductor](https://www.bioconductor.org/packages/release/bioc/html/RGMQL.html)
4 5
 
5
-## Settings OSX
6
+## Requirements
6 7
 
7
-edit .bash_profile, add environment variable
8
+The library requires the following:
9
+* R version 3.4.2 or higher
10
+* Java version 1.8 or higher
11
+* The JAVA_HOME enviroment variable set
8 12
 
9
-export JAVA_HOME="<java_path>"
13
+It is recommended the use ot the latest version of RStudio.
10 14
 
11
-export PATH=$PATH
15
+## OSX Settings
12 16
 
13
-edit /etc/paths add these
17
+#### before Catalina
14 18
 
15
-$JAVA_HOME/bin
19
+Edit the `.bash_profile` and add the `JAVA_HOME` environment variable:
16 20
 
21
+`export JAVA_HOME = <java_path>`
17 22
 
18
-## Settings Windows
23
+`export PATH=$PATH`
19 24
 
20
-create environment variable JAVA_HOME 
25
+#### after Catalina
21 26
 
27
+Since on macOS Catalina the default shell is Zsh we need to edit or create the .zsh file:
28
+
29
+Edit the `.zsh` and add the `JAVA_HOME` environment variable:
30
+
31
+`export JAVA_HOME = <java_path>`
32
+
33
+`export PATH=$PATH`
34
+
35
+At the end, in both cases, edit the `/etc/paths` and add:
36
+
37
+`$JAVA_HOME/bin`
38
+
39
+
40
+## Windows Settings
41
+
42
+Create environment variable `JAVA_HOME`:
43
+
44
+* Right click on _This PC_.
45
+* click on _Advanced system settings_
46
+* go to _Advanced_ tab an click on _evnironment variables_
47
+* create a `JAVA_HOME` variable the jdk path
48
+
49
+### Errors
50
+
51
+be aware that during execution a message  
52
+
53
+`Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, : org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 7.0 failed 1 times, most recent failure: Lost task 0.0 in stage 7.0 (TID 59, localhost, executor driver): java.io.IOException: (null) entry in command string: null chmod 0644`
54
+
55
+may arise in some circustances .
56
+
57
+This happens because some binary files are missing for Windows, in this case we need to:
58
+
59
+* Open [DownGit](https://minhaskamal.github.io/DownGit/#/home)
60
+* Paste the url `https://github.com/steveloughran/winutils/tree/master/hadoop-2.8.1` in above website, and download the **winutil-hadoop2.8.1**
61
+
62
+or
63
+
64
+* Go to https://github.com/steveloughran/winutils and download the repo and use **winutil-hadoop2.8.1**
65
+
66
+
67
+* Create a directory (example `C:\Program Files\hadoop`) with a folder inside named `bin`
68
+* Get those files and copy them inside the bin subfolder, (copy on `C:\Program Files\hadoop\bin`)
69
+* Create environment variable `HADOOP_HOME` with the path containing those files.
22 70
 
23 71
 
Browse code

S4 methods

Simone authored on 14/11/2017 15:58:33
Showing 1 changed files
... ...
@@ -19,18 +19,5 @@ $JAVA_HOME/bin
19 19
 
20 20
 create environment variable JAVA_HOME 
21 21
 
22
-this settings prevents warning in RStudio when creating scala interpreter object
23
-
24
-cat: /no such file or directory
25
-
26
-in Rstudio after create interpreter and call info function in R we got this warning
27
-
28
-> rscala::scalaInfo(verbose = T)
29
-
30
-Searching for a suitable Scala installation.
31
-* FAILURE: 'scala.home' argument is NULL
32
-* FAILURE: SCALA_HOME () environment variable
33
-* ATTEMPT: Found a candidate (/usr/local/scala-2.11.8/bin/scala)
34
-* SUCCESS: 'scala' in the shell's search path
35 22
 
36 23
 
Browse code

subscribe to mail list

Simone authored on 17/10/2017 09:23:23
Showing 1 changed files
... ...
@@ -1,27 +1,23 @@
1 1
 # RGMQL
2 2
 
3
-This package works with java 1.8 and scala 2.11.8
3
+This package works with java 1.8
4 4
 
5 5
 ## Settings OSX
6 6
 
7 7
 edit .bash_profile, add environment variable
8 8
 
9
-export SCALA_HOME="<scala_path>"
10
-
11 9
 export JAVA_HOME="<java_path>"
12 10
 
13 11
 export PATH=$PATH
14 12
 
15 13
 edit /etc/paths add these
16 14
 
17
-$SCALA_HOME/bin
18
-
19 15
 $JAVA_HOME/bin
20 16
 
21 17
 
22 18
 ## Settings Windows
23 19
 
24
-create environment variable JAVA_HOME and SCALA_HOME
20
+create environment variable JAVA_HOME 
25 21
 
26 22
 this settings prevents warning in RStudio when creating scala interpreter object
27 23
 
Browse code

readme, namespace

Simone authored on 10/10/2017 11:00:24
Showing 1 changed files
... ...
@@ -7,12 +7,15 @@ This package works with java 1.8 and scala 2.11.8
7 7
 edit .bash_profile, add environment variable
8 8
 
9 9
 export SCALA_HOME="<scala_path>"
10
+
10 11
 export JAVA_HOME="<java_path>"
12
+
11 13
 export PATH=$PATH
12 14
 
13 15
 edit /etc/paths add these
14 16
 
15 17
 $SCALA_HOME/bin
18
+
16 19
 $JAVA_HOME/bin
17 20
 
18 21
 
... ...
@@ -20,8 +23,6 @@ $JAVA_HOME/bin
20 23
 
21 24
 create environment variable JAVA_HOME and SCALA_HOME
22 25
 
23
-
24
-
25 26
 this settings prevents warning in RStudio when creating scala interpreter object
26 27
 
27 28
 cat: /no such file or directory
... ...
@@ -36,5 +37,4 @@ Searching for a suitable Scala installation.
36 37
 * ATTEMPT: Found a candidate (/usr/local/scala-2.11.8/bin/scala)
37 38
 * SUCCESS: 'scala' in the shell's search path
38 39
 
39
-don-t worry is ok!
40 40
 
Browse code

modified readme

Simone authored on 22/06/2017 08:05:58
Showing 1 changed files
... ...
@@ -1,26 +1,28 @@
1 1
 # RGMQL
2 2
 
3
-## Settings
3
+This package works with java 1.8 and scala 2.11.8
4 4
 
5
-put scala in folder OSX /usr/local/
6
-create symbolic links as instruction below
5
+## Settings OSX
7 6
 
8
-sudo ln -s /usr/local/scala-2.11.8 /usr/local/scala
9
-sudo ln -s /usr/local/scala-2.11.8 /usr/local/share/scala
7
+edit .bash_profile, add environment variable
10 8
 
11
-edit .bash_profile, add these
12
-
13
-export SCALA_HOME=/usr/local/share/scala
14
-export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home
9
+export SCALA_HOME="<scala_path>"
10
+export JAVA_HOME="<java_path>"
15 11
 export PATH=$PATH
16 12
 
17 13
 edit /etc/paths add these
18 14
 
19
-/usr/local/scala/bin
20 15
 $SCALA_HOME/bin
21 16
 $JAVA_HOME/bin
22 17
 
23
-this setting prevents warning in RStudio when creating scala interpreter object
18
+
19
+## Settings Windows
20
+
21
+create environment variable JAVA_HOME and SCALA_HOME
22
+
23
+
24
+
25
+this settings prevents warning in RStudio when creating scala interpreter object
24 26
 
25 27
 cat: /no such file or directory
26 28
 
... ...
@@ -36,17 +38,3 @@ Searching for a suitable Scala installation.
36 38
 
37 39
 don-t worry is ok!
38 40
 
39
-(I don't know what happen with other R "editor" or using R through command line)
40
-
41
-## for local "compiling"
42
-
43
-I didn't put the jar file in repository cause are ~ 100MB
44
-after cloned or downloaded the git create a folder "inst" inside GMQL then create folder "java" inside it
45
-we should have this structure:
46
-
47
-GMQL
48
- |-->inst
49
-      |-->java
50
-
51
-then copy the "uber-GMQL-R-1.0.jar" file inside "java".
52
-rename it to GMQL.jar or create a symbolic link GMQL.jar
Browse code

clean operation and reviewed the readme

Simone authored on 11/04/2017 21:27:36
Showing 1 changed files
... ...
@@ -40,12 +40,13 @@ don-t worry is ok!
40 40
 
41 41
 ## for local "compiling"
42 42
 
43
-I don't put the jar file in repository cause are ~ 100MB
43
+I didn't put the jar file in repository cause are ~ 100MB
44 44
 after cloned or downloaded the git create a folder "inst" inside GMQL then create folder "java" inside it
45 45
 we should have this structure:
46 46
 
47 47
 GMQL
48
- |__ inst
49
-       |__ java
48
+ |-->inst
49
+      |-->java
50 50
 
51
-then copy the jar file inside "java" or create a symbolic link
51
+then copy the "uber-GMQL-R-1.0.jar" file inside "java".
52
+rename it to GMQL.jar or create a symbolic link GMQL.jar
Browse code

add install instruction in Readme

Simone authored on 10/04/2017 15:15:03
Showing 1 changed files
... ...
@@ -1 +1,51 @@
1
-# RGMQL
2 1
\ No newline at end of file
2
+# RGMQL
3
+
4
+## Settings
5
+
6
+put scala in folder OSX /usr/local/
7
+create symbolic links as instruction below
8
+
9
+sudo ln -s /usr/local/scala-2.11.8 /usr/local/scala
10
+sudo ln -s /usr/local/scala-2.11.8 /usr/local/share/scala
11
+
12
+edit .bash_profile, add these
13
+
14
+export SCALA_HOME=/usr/local/share/scala
15
+export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home
16
+export PATH=$PATH
17
+
18
+edit /etc/paths add these
19
+
20
+/usr/local/scala/bin
21
+$SCALA_HOME/bin
22
+$JAVA_HOME/bin
23
+
24
+this setting prevents warning in RStudio when creating scala interpreter object
25
+
26
+cat: /no such file or directory
27
+
28
+in Rstudio after create interpreter and call info function in R we got this warning
29
+
30
+> rscala::scalaInfo(verbose = T)
31
+
32
+Searching for a suitable Scala installation.
33
+* FAILURE: 'scala.home' argument is NULL
34
+* FAILURE: SCALA_HOME () environment variable
35
+* ATTEMPT: Found a candidate (/usr/local/scala-2.11.8/bin/scala)
36
+* SUCCESS: 'scala' in the shell's search path
37
+
38
+don-t worry is ok!
39
+
40
+(I don't know what happen with other R "editor" or using R through command line)
41
+
42
+## for local "compiling"
43
+
44
+I don't put the jar file in repository cause are ~ 100MB
45
+after cloned or downloaded the git create a folder "inst" inside GMQL then create folder "java" inside it
46
+we should have this structure:
47
+
48
+GMQL
49
+ |__ inst
50
+       |__ java
51
+
52
+then copy the jar file inside "java" or create a symbolic link
Browse code

Initial commit

akaitoua authored on 07/04/2017 13:49:59
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1 @@
1
+# RGMQL
0 2
\ No newline at end of file