1
1
# SQL DB plugin for Nextflow
2
2
3
- This plugin provider an extension to implement built-in support for SQL DB access and manipulation in Nextflow scripts.
3
+ This plugin provides an extension to implement built-in support for SQL DB access and manipulation in Nextflow scripts.
4
4
5
- It provides the ability to create Nextflow channel from SQL queries and to populate database tables. The current version
5
+ It provides the ability to create a Nextflow channel from SQL queries and to populate database tables. The current version
6
6
provides out-of-the-box support for the following databases:
7
7
8
8
* [ H2] ( https://www.h2database.com )
@@ -24,7 +24,7 @@ plugins {
24
24
}
25
25
```
26
26
27
- The above declaration allow the use of the SQL plugin functionalities in your Nextflow pipelines. See the section
27
+ The above declaration allows the use of the SQL plugin functionalities in your Nextflow pipelines. See the section
28
28
below to configure the connection properties with a database instance.
29
29
30
30
## Configuration
@@ -59,11 +59,11 @@ using `demo` schema, with `my-name` and `my-password` as credentials.
59
59
60
60
## Available operations
61
61
62
- This plugin adds to the Nextflow DSL the following extensions that allows performing query and populate database tables.
62
+ This plugin adds to the Nextflow DSL the following extensions that allows performing of queries and populating database tables.
63
63
64
64
### fromQuery
65
65
66
- The ` fromQuery ` factory method allows performing a query against a SQL database and creating a Nextflow channel emitting
66
+ The ` fromQuery ` factory method allows for performing a query against a SQL database and creating a Nextflow channel emitting
67
67
a tuple for each row in the corresponding result set. For example:
68
68
69
69
```
@@ -130,6 +130,6 @@ To query this file in a Nextflow script use the following snippet:
130
130
```
131
131
132
132
133
- The ` CSVREAD ` function provided by the H2 database engine allows the access of a CSV file in your computer file system,
133
+ The ` CSVREAD ` function provided by the H2 database engine allows access of a CSV file in your computer file system,
134
134
you can replace ` test.csv ` with a CSV file path of your choice. The ` foo>=2 ` condition shows how to define a filtering
135
135
clause using the conventional SQL WHERE constrains.
0 commit comments