https://github.com/biocomputingup/strpsearch
Science Score: 39.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 2 DOI reference(s) in README -
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.1%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: BioComputingUP
- License: gpl-3.0
- Language: Python
- Default Branch: master
- Size: 135 MB
Statistics
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 2
- Releases: 0
Metadata Files
README.md
STRPsearch
STRPsearch is a specialized tool designed for rapid and precise identification and mapping of structured tandem repeats in proteins (STRPs).
If you find STRPsearch useful for your research, please cite:
Mozaffari S, Arrías PN, Clementel D, Piovesan D, Ferrari C, Tosatto SCE, Monzon AM. STRPsearch: fast detection of structured tandem repeat proteins. Bioinformatics. 2024;40(12):btae690. https://doi.org/10.1093/bioinformatics/btae690.
Getting Started
To get started with the project, first, extract the contents of data/databases.zip by running the following command:
cd data && unzip databases.zip && cd ..
Then you can choose one of the following methods to set up the software:
Method 1: Using requirements.txt
- Install all the dependencies listed in the
requirements.txtfile:pip install -r requirements.txtNote: Inside the requirements.txt file, you'll find a commented section that includes dependencies which cannot be installed with pip. To install these dependencies, you can use Conda by running the following commands:conda install -c conda-forge -c bioconda foldseek conda install -c bioconda tmalign - Navigate to the main directory of the project and run the software with the following command:
python3 ./bin/strpsearch.py [OPTIONS] COMMAND [ARGS]...
Method 2: Using Conda Environment
- Import and activate the Conda environment from the
environment.ymlfile:conda env create -f environment.yml conda activate strpsearch_env - Navigate to the main directory of the project and run the software with the following command:
python3 ./bin/strpsearch.py [OPTIONS] COMMAND [ARGS]...
Method 3: Using Docker
- Build the Docker image using the provided
Dockerfile:docker build -t strpsearch . To run the container in an interactive mode, use the following command:
docker run -it --entrypoint /bin/bash -v /mount/directory/:/app strpsearchBe aware that-v /mount/directory/:/appcommand mounts the specified directory (/mount/directory/) to the working directory of the container. This ables the container to read and write files on the host machine.Navigate to the main directory of the project and run the software with the following command:
python3 ./bin/strpsearch.py [OPTIONS] COMMAND [ARGS]...
Usage:
The tools has three Commands, each with its positional arguments and options.
To list the available commands run:
python3 bin/strpsearch.py --help
Which returns the following commands:
| Command | Description |
|---------|-------------|
| query-file | Query an existing PDB/CIF formatted structure file by providing the file path |
| download-pdb | Download and query a structure from PDB by providing the PDB ID and the specific Chain of interest |
| download-model | Download and query an AlphaFold model by providing the UniProt ID and the AlphaFold version of interest |
| version | Show the version and exit |
query-file
Arguments
input_file(TEXT): Path to the input structure file to query (PDB/mmCIF). This argument is required. Default: Noneout_dir(TEXT): Path to the output directory. This argument is required. Default: None
Options
--chain(TEXT): Specific chain to query from the structures. Default: all--temp-dir(TEXT): Path to the temporary directory. Default: /tmp--max-eval(FLOAT): Maximum E-value of the targets to prefilter. Default: 0.01--min-height(FLOAT): Minimum height of TM-score signals to be processed. Default: 0.4--keep-temp / --no-keep-temp: Whether to keep the temporary directory and files. Default: no-keep-temp--pymol-pse / --no-pymol-pse: Whether to create and output PyMOL session files. Default: no-pymol-pse--help: Show this message and exit
download-pdb
Arguments
pdb_id(TEXT): PDB ID of the experimental structure to download and query. This argument is required. Default: Noneout_dir(TEXT): Path to the output directory. This argument is required. Default: None
Options
--chain(TEXT): Specific chain to query from the structures. Default: all--temp-dir(TEXT): Path to the temporary directory. Default: /tmp--max-eval(FLOAT): Maximum E-value of the targets to prefilter. Default: 0.01--min-height(FLOAT): Minimum height of TM-score signals to be processed. Default: 0.4--keep-temp / --no-keep-temp: Whether to keep the temporary directory and files. Default: no-keep-temp--pymol-pse / --no-pymol-pse: Whether to create and output PyMOL session files. Default: no-pymol-pse--help: Show this message and exit
download-model
Arguments
uniprot_id(TEXT): UniProt ID of the AlphaFold-predicted model to download and query. This argument is required. Default: Noneaf_version(TEXT): Version of AlphaFold to download predicted models from. This argument is required. Default: Noneout_dir(TEXT): Path to the output directory. This argument is required. Default: None
Options
--temp-dir(TEXT): Path to the temporary directory. Default: /tmp--max-eval(FLOAT): Maximum E-value of the targets to prefilter. Default: 0.01--min-height(FLOAT): Minimum height of TM-score signals to be processed. Default: 0.4--keep-temp / --no-keep-temp: Whether to keep the temporary directory and files. Default: no-keep-temp--pymol-pse / --no-pymol-pse: Whether to create and output PyMOL session files. Default: no-pymol-pse--help: Show this message and exit
Note
To generate and output PyMOL sessions using the --pymol-pse option, you must have PyMOL installed. You can install PyMOL using conda with one of the following commands, or compile it from source (https://www.pymol.org/):
conda install -c conda-forge -c schrodinger pymol-bundle=2.6
conda install -c conda-forge pymol-open-source
Examples
If you already have a PDB/CIF formatted structure file, and you want to query all the chains in the structure, keeping temporary directory and files:
python3 ./bin/strpsearch.py query-file /input/file /output/directory --keep-temp
If you want to automatically download and query a specific experimental structure from PDB (e.g. chain B of PDB structure 1A0R), without keeping temporary directory and files:
python3 ./bin/strpsearch.py download-pdb 1a0r /output/directory --chain B
If you want to automatically download and query a predicted-model from AlphaFold (e.g. UniProt ID: Q9HXJ7)
python3 ./bin/strpsearch.py download-model Q9HXJ7 /output/directory
Owner
- Name: BioComputing Group, University of Padova
- Login: BioComputingUP
- Kind: organization
- Email: biocomp@bio.unipd.it
- Location: Italy
- Website: https://biocomputingup.it/
- Repositories: 31
- Profile: https://github.com/BioComputingUP
GitHub Events
Total
- Issues event: 4
- Watch event: 4
- Member event: 1
- Issue comment event: 9
- Push event: 52
- Fork event: 1
- Create event: 3
Last Year
- Issues event: 4
- Watch event: 4
- Member event: 1
- Issue comment event: 9
- Push event: 52
- Fork event: 1
- Create event: 3
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Soroush | 9****o | 35 |
| Patricio Chinestrad | p****d@g****m | 17 |
| AlexanderMon | m****r@g****m | 4 |
| Damiano Piovesan | d****n@g****m | 2 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 5
- Total pull requests: 1
- Average time to close issues: 2 months
- Average time to close pull requests: less than a minute
- Total issue authors: 4
- Total pull request authors: 1
- Average comments per issue: 2.0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 0
- Average time to close issues: 2 days
- Average time to close pull requests: N/A
- Issue authors: 2
- Pull request authors: 0
- Average comments per issue: 4.5
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- damiclem (2)
- hofmank0 (1)
- ruslan-uoc (1)
- AlexanderMon (1)
Pull Request Authors
- Oudbinfo (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- continuumio/miniconda3 latest build
- biopython *
- matplotlib *
- numpy *
- pandas *
- requests *
- rich *
- scipy *
- seaborn *
- typer *
- click ==8.1.7
- colorama ==0.4.6
- markdown-it-py ==3.0.0
- mdurl ==0.1.2
- pygments ==2.17.2
- rich ==13.7.0
- shellingham ==1.5.4
- typer ==0.9.0
- typing-extensions ==4.8.0