comparison alphafold.xml @ 4:bc99b0a951ec draft

"planemo upload for repository https://github.com/usegalaxy-au/galaxy-local-tools commit 2d7c3d151feaafc3be33ebb0081ec640680fbb4d-dirty"
author galaxy-australia
date Thu, 10 Mar 2022 00:26:56 +0000
parents 58854e2e6654
children 138feebde7d3
comparison
equal deleted inserted replaced
3:58854e2e6654 4:bc99b0a951ec
1 <tool id="alphafold" name="alphafold" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01"> 1 <tool id="alphafold" name="alphafold" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="20.01">
2 <description>Alphafold v2.0: AI-guided 3D structure prediction of proteins</description> 2 <description>Alphafold v2.0: AI-guided 3D structure prediction of proteins</description>
3 <macros> 3 <macros>
4 <token name="@TOOL_VERSION@">2.0.0</token> 4 <token name="@TOOL_VERSION@">2.0.0</token>
5 <token name="@VERSION_SUFFIX@">1</token> 5 <token name="@VERSION_SUFFIX@">2</token>
6 </macros> 6 </macros>
7 <edam_topics> 7 <edam_topics>
8 <edam_topic>topic_0082</edam_topic> 8 <edam_topic>topic_0082</edam_topic>
9 </edam_topics> 9 </edam_topics>
10 <edam_operations> 10 <edam_operations>
47 --template_mmcif_dir \${ALPHAFOLD_DB:-/data}/pdb_mmcif/mmcif_files 47 --template_mmcif_dir \${ALPHAFOLD_DB:-/data}/pdb_mmcif/mmcif_files
48 --obsolete_pdbs_path \${ALPHAFOLD_DB:-/data}/pdb_mmcif/obsolete.dat 48 --obsolete_pdbs_path \${ALPHAFOLD_DB:-/data}/pdb_mmcif/obsolete.dat
49 --max_template_date=\$DATE 49 --max_template_date=\$DATE
50 --bfd_database_path \${ALPHAFOLD_DB:-/data}/bfd/bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt 50 --bfd_database_path \${ALPHAFOLD_DB:-/data}/bfd/bfd_metaclust_clu_complete_id30_c90_final_seq.sorted_opt
51 --uniclust30_database_path \${ALPHAFOLD_DB:-/data}/uniclust30/uniclust30_2018_08/uniclust30_2018_08 51 --uniclust30_database_path \${ALPHAFOLD_DB:-/data}/uniclust30/uniclust30_2018_08/uniclust30_2018_08
52 ## use_gpu_relax introduced in AlphaFold v2.1.2
52 --use_gpu_relax=True 53 --use_gpu_relax=True
53 && 54 &&
54 55
55 ## Uncomment for "dummy run" - skip alphafold run and read output from test-data 56 ## Uncomment for "dummy" output - read output from test-data
56 ## cp -r '$__tool_directory__/output' . && 57 ## cp -r '$__tool_directory__/output' . &&
57 58
58 ## Generate additional outputs ------------ 59 ## Generate additional outputs ------------
59 python3 '$__tool_directory__/gen_extra_outputs.py' output/alphafold $output_plddts && 60 python3 '$__tool_directory__/gen_extra_outputs.py' output/alphafold $output_plddts &&
60 61
61 ## HTML output 62 ## HTML output
62 mkdir -p '${ html.files_path }' && 63 mkdir -p '${ html.files_path }' &&
63 cp '$__tool_directory__/alphafold.html' '${html}' && 64 cp '$__tool_directory__/alphafold.html' '${html}' &&
64 cp output/alphafold/ranked_*.pdb '${html.files_path}' 65 cp output/alphafold/ranked_*.pdb '${html.files_path}' &&
66
67 ## This is a (hacky) fix for a bug that has appeared in multiple Pulsar servers.
68 ## The working directory ends up two levels deep and the visualization html page
69 ## fails to load the PDB files as static assets.
70 [ -d working ] && cp -r working/* .
65 71
66 ]]></command> 72 ]]></command>
67 <inputs> 73 <inputs>
68 <conditional name="fasta_or_text"> 74 <conditional name="fasta_or_text">
69 <param name="input_mode" type="select" label="Fasta Input" help="Single protein sequence to fold. Input can be fasta file from history, or text. Provide only 1 sequence per job."> 75 <param name="input_mode" type="select" label="Fasta Input" help="Single protein sequence to fold. Input can be fasta file from history, or text. Provide only 1 sequence per job.">