Skip to content

Commit

Permalink
update arranger diagrams
Browse files Browse the repository at this point in the history
  • Loading branch information
CunliangGeng committed Sep 16, 2024
1 parent f4310df commit feeea5f
Showing 1 changed file with 28 additions and 2 deletions.
30 changes: 28 additions & 2 deletions docs/diagrams/arranger.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ flowchart TD
P --> |Yes| P1[Validate the file]
```

## GNPS, AntiSMASH and BigScape
## GNPS and AntiSMASH
``` mermaid
flowchart TD
ConfigError[Dynaconf config validation error]
DataError[Data validation error]
UseIt[Use the data]
Download[First remove existing data if relevent, then download or generate data]
A[GNPS, antiSMASH and BigSCape] --> B{Pass Dynaconf config validation?}
A[GNPS or antiSMASH] --> B{Pass Dynaconf config validation?}
B -->|No | ConfigError
B -->|Yes| G{Is the mode PODP?}
Expand All @@ -53,6 +53,32 @@ flowchart TD
J -->|Yes| UseIt
```

## BigScape
```mermaid
flowchart TD
ConfigError[Dynaconf config validation error]
DataError[Data validation error]
UseIt[Use the data]
Download[First remove existing data if relevent, then download or generate data]
A[BigSCape] --> B{Pass Dynaconf config validation?}
B -->|No | ConfigError
B -->|Yes| G{Is the mode PODP?}
G -->|No, local mode| G1{Does data dir exist?}
G1 -->|No | Download
G1 -->|Yes| H{Pass data validation?}
H --> |No | DataError
H --> |Yes| UseIt
G -->|Yes, podp mode| G2{Does data dir exist?}
G2 --> |No | Download
G2 --> |Yes | J{Pass data validation?}
J -->|No | Download --> |try max 2 times| J
J -->|Yes| UseIt
```


## MIBiG Data
MIBiG data is always downloaded automatically. Users cannot provide their own MIBiG data.

Expand Down

0 comments on commit feeea5f

Please sign in to comment.