For more detailed description refer to SchemaRefinery documentation
The SchemaRefinery
repository contains tools and modules for refining genomic schemas. These tools help in identifying paralogous loci, spurious genes, and annotating schemas. The repository supports various genomic data processing tasks and provides configurable parameters for different processes.
Follow these steps to install the SchemaRefinery
package on your system.
-
Install Git: Ensure that Git is installed on your system. You can install Git using the following command:
# For macOS brew install git # For Ubuntu/Debian sudo apt-get install git # For Fedora sudo dnf install git
-
Install Conda: Ensure that Conda is installed on your system. You can install Miniconda (a minimal Conda installer) using the following commands:
# For macOS and Linux wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh bash Miniconda3-latest-Linux-x86_64.sh
-
Clone the Repository: Clone the SchemaRefinery repository from GitHub:
git clone https://github.com/MForofontov/Schema_Refinery.git
-
Change Directory: Navigate to the cloned repository:
cd Schema_Refinery
-
Create a Conda Environment: It is recommended to create a conda environment to manage dependencies:
conda create --name schema_refinery python=3.9 conda activate schema_refinery
-
Install Dependencies: Install the required Python packages:
conda install blast pip install -r requirements.txt
-
Install the Package: Install the SchemaRefinery package:
python setup.py install
-
Verify Installation: Verify the installation by running the following command:
SR --help
-
Deactivate the Conda Environment: Once you are done, you can deactivate the conda environment:
conda deactivate
The repository includes the following main modules:
- IdentifyParalogousLoci: Identifies paralogous loci in a schema.
- IdentifySpuriousGenes: Identifies spurious genes in a schema.
- SchemaAnnotation: Annotates schemas with additional information.
- MatchSchemas: Matches schemas in a directory.
- DownloadAssemblies: Downloads genomic assemblies from various databases.
- AdaptLoci: Adapts loci in fasta format to a schema format.
- Python 3.9 or higher
- Biopython library (
pip install biopython
) - NCBI datasets (NCBI datasets)
Each module can be used independently by running the corresponding script with the required command-line arguments. Below are examples for each module:
```bash
SR IdentifyParalogousLoci --help
```
```bash
SR IdentifySpuriousGenes --help
```
```bash
SR SchemaAnnotation --help
```
```bash
SR MatchSchemas --help
```
```bash
SR DownloadAssemblies --help
```
```bash
SR AdaptLoci --help
```
If you encounter issues while using the modules, consider the following troubleshooting steps:
- Verify that the paths to the schema, output, and other directories are correct.
- Check the output directory for any error logs or messages.
- Increase the number of CPUs using the
-c
or--cpu
option if the process is slow. - Ensure that you have a stable internet connection.
if the issue persists, please report it to the development team using github issues.
We welcome contributions to the SchemaRefinery project. If you would like to contribute, please follow these steps:
- Fork the repository on GitHub.
- Create a new branch for your feature or bugfix.
- Make your changes and commit them with a clear message.
- Push your changes to your forked repository.
- Create a pull request to the main repository.
This project is licensed under the GNU General Public License v3.0. See the LICENSE <https://www.gnu.org/licenses/gpl-3.0.html>
_ file for details.
For support or to report issues, please contact the development team at GitHub issues in SchemaRefinery GitHub repository.