diff --git a/tools/biobb_pytorch/.shed.yml b/tools/biobb_pytorch/.shed.yml new file mode 100644 index 00000000..bb0dd30e --- /dev/null +++ b/tools/biobb_pytorch/.shed.yml @@ -0,0 +1,20 @@ +name: biobb_pytorch +owner: chemteam +description: "biobb_pytorch is the Biobb module collection to create and train ML & DL models using the popular [PyTorch](https://pytorch.org/) Python library." +homepage_url: https://github.com/bioexcel/biobb_pytorch +long_description: | + biobb_pytorch is the Biobb module collection to create and train ML & DL models using the popular [PyTorch](https://pytorch.org/) Python library. + Biobb (BioExcel building blocks) packages are Python building blocks that + create new layer of compatibility and interoperability over popular + bioinformatics tools. + The latest documentation of this package can be found in our readthedocs site: + [latest API documentation](http://biobb-pytorch.readthedocs.io/en/latest/). +remote_repository_url: https://github.com/galaxycomputationalchemistry/galaxy-tools-compchem/tree/master/tools/biobb_pytorch +type: unrestricted +categories: +- Molecular Dynamics +- Computational chemistry +maintainers: + - PauAndrio + - gbayarri + - adamhospital diff --git a/tools/biobb_pytorch/biobb_apply_mdae.xml b/tools/biobb_pytorch/biobb_apply_mdae.xml new file mode 100644 index 00000000..e6fa65de --- /dev/null +++ b/tools/biobb_pytorch/biobb_apply_mdae.xml @@ -0,0 +1,84 @@ + + Apply a Molecular Dynamics AutoEncoder (MDAE) PyTorch model. + + 4.2.1 + + + + biobb_pytorch + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +.. class:: infomark + +Check the syntax for the tool parameters at the original library documentation: https://biobb-pytorch.readthedocs.io/en/latest + + + + + @misc{githubbiobb, + author = {Andrio P, Bayarri, G., Hospital A, Gelpi JL}, + year = {2019-21}, + title = {biobb: BioExcel building blocks }, + publisher = {GitHub}, + journal = {GitHub repository}, + url = {https://github.com/bioexcel/biobb_pytorch}, + } + + 10.1038/s41597-019-0177-4 + + diff --git a/tools/biobb_pytorch/biobb_train_mdae.xml b/tools/biobb_pytorch/biobb_train_mdae.xml new file mode 100644 index 00000000..68c03c31 --- /dev/null +++ b/tools/biobb_pytorch/biobb_train_mdae.xml @@ -0,0 +1,92 @@ + + Train a Molecular Dynamics AutoEncoder (MDAE) PyTorch model + + 4.2.1 + + + + biobb_pytorch + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +.. class:: infomark + +Check the syntax for the tool parameters at the original library documentation: https://biobb-pytorch.readthedocs.io/en/latest + + + + + @misc{githubbiobb, + author = {Andrio P, Bayarri, G., Hospital A, Gelpi JL}, + year = {2019-21}, + title = {biobb: BioExcel building blocks }, + publisher = {GitHub}, + journal = {GitHub repository}, + url = {https://github.com/bioexcel/biobb_pytorch}, + } + + 10.1038/s41597-019-0177-4 + + diff --git a/tools/biobb_pytorch/test-data/config_apply_mdae.json b/tools/biobb_pytorch/test-data/config_apply_mdae.json new file mode 100644 index 00000000..ceacd33a --- /dev/null +++ b/tools/biobb_pytorch/test-data/config_apply_mdae.json @@ -0,0 +1,5 @@ +{ + "properties": { + "batch_size": 1 + } +} \ No newline at end of file diff --git a/tools/biobb_pytorch/test-data/config_train_mdae.json b/tools/biobb_pytorch/test-data/config_train_mdae.json new file mode 100644 index 00000000..c44543df --- /dev/null +++ b/tools/biobb_pytorch/test-data/config_train_mdae.json @@ -0,0 +1,6 @@ +{ + "properties": { + "num_epochs": 50, + "seed": 1 + } +} \ No newline at end of file diff --git a/tools/biobb_pytorch/test-data/ref_output_model.pth b/tools/biobb_pytorch/test-data/ref_output_model.pth new file mode 100644 index 00000000..44c10283 Binary files /dev/null and b/tools/biobb_pytorch/test-data/ref_output_model.pth differ diff --git a/tools/biobb_pytorch/test-data/train_mdae_traj.npy b/tools/biobb_pytorch/test-data/train_mdae_traj.npy new file mode 100644 index 00000000..615b5a76 Binary files /dev/null and b/tools/biobb_pytorch/test-data/train_mdae_traj.npy differ