-
Notifications
You must be signed in to change notification settings - Fork 630
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 4256-deduplicate-docs
Signed-off-by: Ben Sherman <bentshermann@gmail.com>
- Loading branch information
Showing
154 changed files
with
3,773 additions
and
1,316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
23.08.1-edge | ||
23.09.1-edge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
** | ||
!requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
nextflow-merged.mmd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Class Diagrams | ||
|
||
This directory contains class diagrams of the Nextflow source code, abridged and annotated for relevance and ease of use. | ||
|
||
Each node is a class. Fields are selectively documented in order to show only core data structures and the classes that "own" them. Methods are not explicitly documented, but they are mentioned in certain links where appropriate. | ||
|
||
Links between classes denote one of the following relationships: | ||
|
||
- Inheritance (`A <|-- B`): `B` is a subclass of `A` | ||
- Composition (`A --* B`): `A` contains `B` | ||
- Instantiation (`A --> B : f`): `A` creates instance(s) of `B` at runtime via `A::f()` | ||
|
||
Some links are commented out or not included at all, in order to focus on the most important classes and relationships. You can view these "hidden" links by simply uncommenting them, but I have found that their significance is sufficiently clear from the description files. | ||
|
||
A separate diagram description is provided for each package. These files are interoperable, which means that you can combine any subset of files into a larger diagram description. The `merge-diagrams.sh` can create a merged file for you automatically, and it includes a sensible default set of packages. | ||
|
||
You can use the [Mermaid Live Editor](https://mermaid-js.github.io/mermaid-live-editor/edit) or the [Mermaid CLI](https://github.com/mermaid-js/mermaid-cli) to render the diagram in a variety of image formats. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash | ||
|
||
packages=() | ||
packages+=("nextflow") | ||
# packages+=("nextflow.ast") | ||
packages+=("nextflow.cache") | ||
packages+=("nextflow.cli") | ||
# packages+=("nextflow.cloud.aws") | ||
# packages+=("nextflow.cloud.aws.nio") | ||
# packages+=("nextflow.cloud.azure") | ||
# packages+=("nextflow.cloud.google") | ||
# packages+=("nextflow.config") | ||
# packages+=("nextflow.container") | ||
packages+=("nextflow.dag") | ||
# packages+=("nextflow.executor") | ||
# packages+=("nextflow.extension") | ||
# packages+=("nextflow.ga4gh") | ||
# packages+=("nextflow.k8s") | ||
# packages+=("nextflow.plugin") | ||
packages+=("nextflow.processor") | ||
# packages+=("nextflow.scm") | ||
packages+=("nextflow.script") | ||
# packages+=("nextflow.secret") | ||
# packages+=("nextflow.trace") | ||
|
||
outfile="nextflow-merged.mmd" | ||
|
||
echo "classDiagram" > ${outfile} | ||
|
||
for package in "${packages[@]}"; do | ||
echo "${package}" | ||
|
||
tail -n +2 "${package}.mmd" >> ${outfile} | ||
echo >> ${outfile} | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
classDiagram | ||
%% | ||
%% nextflow.ast | ||
%% | ||
ScriptParser --> NextflowDSLImpl : parse | ||
ScriptParser --> NextflowXformImpl : parse | ||
ScriptParser --> OpXformImpl : parse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
classDiagram | ||
%% | ||
%% nextflow.cache | ||
%% | ||
Session --* CacheDB | ||
%% CacheFactory --> CacheDB : createInstance | ||
|
||
CacheDB --* CacheStore | ||
|
||
CacheStore <|-- DefaultCacheStore | ||
CacheStore <|-- CloudCacheStore | ||
|
||
class DefaultCacheStore { | ||
uniqueId : UUID | ||
runName : String | ||
baseDir : Path | ||
} | ||
|
||
class CloudCacheStore { | ||
uniqueId : UUID | ||
runName : String | ||
basePath : Path | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
classDiagram | ||
%% | ||
%% nextflow.cli | ||
%% | ||
class Launcher { | ||
cliOptions : CliOptions | ||
command : CmdBase | ||
} | ||
Launcher --* CliOptions | ||
Launcher --* CmdBase | ||
|
||
%% CmdBase <|-- CmdClean | ||
%% CmdBase <|-- CmdClone | ||
%% CmdBase <|-- CmdConfig | ||
CmdBase <|-- CmdConsole | ||
%% CmdBase <|-- CmdDrop | ||
%% CmdBase <|-- CmdFs | ||
CmdBase <|-- CmdHelp | ||
CmdBase <|-- CmdInfo | ||
%% CmdBase <|-- CmdKubeRun | ||
%% CmdBase <|-- CmdList | ||
%% CmdBase <|-- CmdLog | ||
%% CmdBase <|-- CmdNode | ||
%% CmdBase <|-- CmdPlugin | ||
%% CmdBase <|-- CmdPull | ||
CmdBase <|-- CmdRun | ||
%% CmdBase <|-- CmdSecret | ||
%% CmdBase <|-- CmdSelfUpdate | ||
%% CmdBase <|-- CmdView |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
classDiagram | ||
%% | ||
%% nextflow.cloud.aws | ||
%% | ||
Executor <|-- AwsBatchExecutor | ||
TaskHandler <|-- AwsBatchTaskHandler | ||
BashWrapperBuilder <|-- AwsBatchScriptLauncher | ||
|
||
AwsBatchExecutor --* AwsOptions | ||
AwsOptions --* AwsConfig | ||
AwsConfig --* AwsBatchConfig | ||
AwsConfig --* AwsS3Config | ||
|
||
AwsBatchExecutor --> ParallelPollingMonitor : init | ||
AwsBatchExecutor --> AwsBatchTaskHandler : submit | ||
AwsBatchTaskHandler --> AwsBatchScriptLauncher : submit | ||
|
||
%% TaskPollingMonitor <|-- ParallelPollingMonitor | ||
|
||
SimpleFileCopyStrategy <|-- AwsBatchFileCopyStrategy | ||
AwsBatchScriptLauncher --* AwsBatchFileCopyStrategy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
classDiagram | ||
%% | ||
%% nextflow.cloud.aws.nio | ||
%% | ||
S3FileSystemProvider --> S3FileSystem : newFileSystem | ||
|
||
class S3FileSystem { | ||
client : S3Client | ||
endpoint : String | ||
} | ||
S3FileSystem --* S3Client | ||
|
||
class S3Client { | ||
client : AmazonS3 | ||
cannedAcl : CannedAccessControlList | ||
kmsKeyId : String | ||
storageEncryption : SSEAlgorithm | ||
transferManager : TransferManager | ||
transferPool : ExecutorService | ||
uploadChunkSize : Long | ||
uploadMaxThreads : Integer | ||
} | ||
|
||
Path <|-- S3Path | ||
|
||
class S3Path { | ||
bucket : String | ||
parts : List~String~ | ||
fileSystem : S3FileSystem | ||
} | ||
S3Path --* S3FileSystem |
Oops, something went wrong.