calcoloscientifico:userguide:alphafold
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
| Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
| calcoloscientifico:userguide:alphafold [24/01/2025 11:02] – fabio.spataro | calcoloscientifico:userguide:alphafold [06/02/2025 19:46] (versione attuale) – fabio.spataro | ||
|---|---|---|---|
| Linea 13: | Linea 13: | ||
| < | < | ||
| / | / | ||
| + | </ | ||
| + | |||
| + | === Alphafold3 GPU demo === | ||
| + | |||
| + | < | ||
| + | mkdir -p demo/ | ||
| + | cp -p / | ||
| + | cp -p / | ||
| + | cd demo | ||
| + | sbatch slurm-alphafold-gpu-a100_40g.sh | ||
| </ | </ | ||
| Linea 36: | Linea 46: | ||
| </ | </ | ||
| - | Script '' | + | Script '' |
| - | <code bash slurm-alphafold.sh> | + | <code bash slurm-alphafold-gpu-a100_40g.sh> |
| #!/bin/bash --login | #!/bin/bash --login | ||
| #SBATCH --job-name=alphafold | #SBATCH --job-name=alphafold | ||
| Linea 62: | Linea 72: | ||
| test -n " | test -n " | ||
| - | ALPHAFOLD_N_CPU=$SLURM_CPUS_PER_TASK | + | set -x |
| + | |||
| + | ALPHAFOLD_JSON_INPUT_FILE=' | ||
| ALPHAFOLD_INPUT_DIR=" | ALPHAFOLD_INPUT_DIR=" | ||
| ALPHAFOLD_OUTPUT_DIR=" | ALPHAFOLD_OUTPUT_DIR=" | ||
| Linea 69: | Linea 81: | ||
| apptainer exec \ | apptainer exec \ | ||
| - | --bind '/ | + | --nv \ |
| - | --bind '/ | + | |
| --bind " | --bind " | ||
| --bind " | --bind " | ||
| - | --bind " | ||
| - | --bind " | ||
| " | " | ||
| python / | python / | ||
| - | --json_path=/ | + | --json_path="/ |
| --model_dir=/ | --model_dir=/ | ||
| --db_dir=/ | --db_dir=/ | ||
| - | --pdb_database_path=/root/public_databases/ | + | --db_dir=/root/public_databases_fallback |
| - | --output_dir=/ | + | --output_dir=/ |
| - | --jackhmmer_n_cpu=$ALPHAFOLD_N_CPU \ | + | |
| - | --nhmmer_n_cpu=$ALPHAFOLD_N_CPU | + | |
| </ | </ | ||
| The processing result will be saved in the '' | The processing result will be saved in the '' | ||
| + | |||
| + | Scripts for specific NVIDIA GPU models to run '' | ||
| + | |||
| + | ^ GPU ^ Path ^ | ||
| + | | NVIDIA [[https:// | ||
| + | | NVIDIA [[https:// | ||
| + | | NVIDIA [[https:// | ||
| + | | NVIDIA [[https:// | ||
| + | |||
| + | === Documentation === | ||
| + | |||
| + | How to get a list of all flags of '' | ||
| + | |||
| + | <code bash> | ||
| + | module load apptainer | ||
| + | module load alphafold/ | ||
| + | |||
| + | apptainer exec " | ||
| + | </ | ||
| + | |||
| + | List of all flags of '' | ||
| + | |||
| + | < | ||
| + | AlphaFold 3 structure prediction script. | ||
| + | |||
| + | AlphaFold 3 source code is licensed under CC BY-NC-SA 4.0. To view a copy of | ||
| + | this license, visit https:// | ||
| + | |||
| + | To request access to the AlphaFold 3 model parameters, follow the process set | ||
| + | out at https:// | ||
| + | if received directly from Google. Use is subject to terms of use available at | ||
| + | https:// | ||
| + | |||
| + | flags: | ||
| + | |||
| + | run_alphafold.py: | ||
| + | --buckets: Strictly increasing order of token sizes for which to cache compilations. For any input with more tokens than the largest bucket size, a new | ||
| + | bucket is created for exactly that number of tokens. | ||
| + | (default: ' | ||
| + | (a comma separated list) | ||
| + | --conformer_max_iterations: | ||
| + | (an integer) | ||
| + | --db_dir: Path to the directory containing the databases. Can be specified multiple times to search multiple directories in order.; | ||
| + | repeat this option to specify a list of values | ||
| + | (default: " | ||
| + | --flash_attention_implementation: | ||
| + | implementation, | ||
| + | ' | ||
| + | (default: ' | ||
| + | --gpu_device: | ||
| + | to a specific GPU. | ||
| + | (default: ' | ||
| + | (an integer) | ||
| + | --hmmalign_binary_path: | ||
| + | (default: '/ | ||
| + | --hmmbuild_binary_path: | ||
| + | (default: '/ | ||
| + | --hmmsearch_binary_path: | ||
| + | (default: '/ | ||
| + | --input_dir: | ||
| + | --jackhmmer_binary_path: | ||
| + | (default: '/ | ||
| + | --jackhmmer_n_cpu: | ||
| + | (default: ' | ||
| + | (an integer) | ||
| + | --jax_compilation_cache_dir: | ||
| + | --json_path: | ||
| + | --max_template_date: | ||
| + | (default: ' | ||
| + | --mgnify_database_path: | ||
| + | (default: ' | ||
| + | --model_dir: | ||
| + | (default: '/ | ||
| + | --nhmmer_binary_path: | ||
| + | (default: '/ | ||
| + | --nhmmer_n_cpu: | ||
| + | (default: ' | ||
| + | (an integer) | ||
| + | --ntrna_database_path: | ||
| + | (default: ' | ||
| + | --num_diffusion_samples: | ||
| + | (default: ' | ||
| + | (a positive integer) | ||
| + | --num_recycles: | ||
| + | (default: ' | ||
| + | (a positive integer) | ||
| + | --num_seeds: | ||
| + | seeds in sequence, starting from the single seed specified in the input JSON. The full input JSON produced by AlphaFold 3 will include the generated | ||
| + | random seeds. If not set, AlphaFold 3 will use the seeds as provided in the input JSON. | ||
| + | (a positive integer) | ||
| + | --output_dir: | ||
| + | --pdb_database_path: | ||
| + | (default: ' | ||
| + | --rfam_database_path: | ||
| + | (default: ' | ||
| + | --rna_central_database_path: | ||
| + | (default: ' | ||
| + | --[no]run_data_pipeline: | ||
| + | (default: ' | ||
| + | --[no]run_inference: | ||
| + | (default: ' | ||
| + | --[no]save_embeddings: | ||
| + | (default: ' | ||
| + | --seqres_database_path: | ||
| + | (default: ' | ||
| + | --small_bfd_database_path: | ||
| + | (default: ' | ||
| + | --uniprot_cluster_annot_database_path: | ||
| + | (default: ' | ||
| + | --uniref90_database_path: | ||
| + | search. | ||
| + | (default: ' | ||
| + | |||
| + | absl.app: | ||
| + | -?, | ||
| + | (default: ' | ||
| + | --[no]helpfull: | ||
| + | (default: ' | ||
| + | --[no]helpshort: | ||
| + | (default: ' | ||
| + | --[no]helpxml: | ||
| + | (default: ' | ||
| + | --[no]only_check_args: | ||
| + | (default: ' | ||
| + | --[no]pdb: Alias for --pdb_post_mortem. | ||
| + | (default: ' | ||
| + | --[no]pdb_post_mortem: | ||
| + | (default: ' | ||
| + | --profile_file: | ||
| + | --[no]run_with_pdb: | ||
| + | (default: ' | ||
| + | --[no]run_with_profiling: | ||
| + | (default: ' | ||
| + | --[no]use_cprofile_for_profiling: | ||
| + | (default: ' | ||
| + | |||
| + | absl.logging: | ||
| + | --[no]alsologtostderr: | ||
| + | (default: ' | ||
| + | --log_dir: directory to write logfiles into | ||
| + | (default: '' | ||
| + | --logger_levels: | ||
| + | and `level` is a level name (INFO, DEBUG, etc). e.g. `myapp.foo: | ||
| + | (default: '' | ||
| + | --[no]logtostderr: | ||
| + | (default: ' | ||
| + | --[no]showprefixforinfo: | ||
| + | is used. | ||
| + | (default: ' | ||
| + | --stderrthreshold: | ||
| + | ' | ||
| + | --verbosity and requires logfile not be stderr. | ||
| + | (default: ' | ||
| + | -v, | ||
| + | supplied, the value will be changed from the default of -1 (warning) to 0 (info) after flags are parsed. | ||
| + | (default: ' | ||
| + | (an integer) | ||
| + | |||
| + | absl.testing.absltest: | ||
| + | --test_random_seed: | ||
| + | seeding probabilistic tests. | ||
| + | (default: ' | ||
| + | (an integer) | ||
| + | --test_randomize_ordering_seed: | ||
| + | 0 or not set, do not randomize test case execution order. This flag also overrides the TEST_RANDOMIZE_ORDERING_SEED environment variable. | ||
| + | (default: '' | ||
| + | --test_srcdir: | ||
| + | (default: '' | ||
| + | --test_tmpdir: | ||
| + | (default: '/ | ||
| + | --xml_output_file: | ||
| + | (default: '' | ||
| + | |||
| + | chex._src.fake: | ||
| + | --[no]chex_assert_multiple_cpu_devices: | ||
| + | (default: ' | ||
| + | --chex_n_cpu_devices: | ||
| + | (default: ' | ||
| + | (an integer) | ||
| + | |||
| + | chex._src.variants: | ||
| + | --[no]chex_skip_pmap_variant_if_single_device: | ||
| + | (default: ' | ||
| + | |||
| + | absl.flags: | ||
| + | --flagfile: Insert flag definitions from the given file into the command line. | ||
| + | (default: '' | ||
| + | --undefok: comma-separated list of flag names that it is okay to specify on the command line even if the program does not define a flag with that name. | ||
| + | IMPORTANT: flags in this list that have arguments MUST use the --flag=value format. | ||
| + | (default: '' | ||
| + | </ | ||
calcoloscientifico/userguide/alphafold.1737712926.txt.gz · Ultima modifica: da fabio.spataro
