config.sh 2.98 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/bin/bash
# =============================================================================
# BOMLIP-CSP Configuration File
# =============================================================================
# This file contains all configurable parameters for the crystal structure
# search and generation pipeline. Modify the values below to customize
# your run.
# =============================================================================

# -----------------------------------------------------------------------------
# [Molecular Parameters]
# SMILES string of the input molecule(s).
# Use '.' (dot) to separate multiple molecules for co-crystal generation.
# Example single molecule:  "C1CC2=COC=C12"
# Example co-crystal:       "C1CC2=COC=C12.CCO"
SMILES="C1CC2=COC=C12"

# Number of conformers to generate during the conformer search step.
# Higher values explore more conformational space but take longer.
# Set to 0 to skip generation and only load existing conformers.
GENERATE_CONFORMERS=10

# Number of conformers to actually use for crystal structure generation.
# Must be <= the number of generated conformers.
# Set to 0 to skip structure generation.
USE_CONFORMERS=4

# Number of molecules in the unit cell (Z').
# Use comma-separated values for multiple molecule types (co-crystal),
# e.g. "1,1" means 1 copy of each molecule in the asymmetric unit.
# Use space-separated values for multiple packings, e.g. "1 2".
MOLECULE_NUM_IN_CELL=1

# -----------------------------------------------------------------------------
# [Crystal Structure Parameters]
# Space group numbers for structure generation.
# Use comma-separated values within a packing, and space-separated
# values for multiple packings.
# Example: "14,61" means search space groups P21/c and Pbca in one packing.
# Example: "14 61" means P21/c in packing 1, Pbca in packing 2.
SPACE_GROUP_LIST="14,61"

# Prefix name added to the output CIF files.
# Use space-separated values for multiple packings.
ADD_NAME="XULDUD"

# Number of crystal structures to generate per (space group, conformer) combination.
# Use space-separated values for multiple packings.
NUM_GENERATION=100

# -----------------------------------------------------------------------------
# [Compute Parameters]
# Maximum number of parallel workers for structure generation.
# Should not exceed the number of available CPU cores.
MAX_WORKERS=16

# -----------------------------------------------------------------------------
# [Run Mode]
# Execution mode controlling which steps are performed.
# Available options:
#   all              - Run conformer search followed by structure generation (default)
#   conformer_only   - Only perform conformer search
#   structure_only   - Skip conformer search, use existing conformers to generate structures
MODE="all"

# -----------------------------------------------------------------------------
# [Path Parameters]
# Directory for storing intermediate conformers and output CIF structures.
# Relative to the project root directory.
OUTPUT_DIR="csp_results"