repository-cloning-and-initialization
Summary
Clone a scientific software repository and install its pinned dependencies in an isolated Python environment to verify the documented entrypoint is executable. This skill establishes a reproducible runtime for metabolomics analysis tools (or similar bioinformatics software) before conducting analysis.
When to use
You have a GitHub repository URL, a documented Python version requirement, and a list of pinned package versions, and you need to verify that the application will initialize without import or runtime errors before proceeding to data analysis or method replication.
When NOT to use
- The repository documentation does not specify pinned dependency versions (use a requirements file discovery step first).
- The application has no documented entrypoint or README with setup instructions.
- You already have a pre-configured containerized or conda environment and do not need to verify manual installation.
Inputs
- GitHub repository URL
- Python version requirement (e.g., >=3.9)
- Pinned dependency list with exact version numbers
Outputs
- Activated Python virtual environment with all dependencies installed
- Successful entrypoint invocation confirmation (no import or runtime errors)
- Initialized application instance ready for analysis
How to apply
Clone the repository from the documented GitHub URL (e.g., github.com/Leo-Cheng-Lab/ROIAL-NMR). Create a new Python virtual environment with the required Python version (≥3.9 for ROIAL-NMR) to isolate dependencies. Install each pinned dependency using pip with exact version numbers (e.g., XlsxWriter==3.2.2, pandas==2.2.3, PyQt5==5.15.11, openpyxl==3.1.5). Execute the documented entrypoint command (e.g., python main.py) to confirm the application initializes, all imports resolve, and no runtime errors occur. Record success as confirmation that the environment is correctly configured and the tool is ready for use.
Related tools
- Python (Runtime interpreter and environment manager for dependency installation and entrypoint execution) — https://www.anaconda.com/download/
- XlsxWriter (Excel file output generation for metabolite analysis results)
- pandas (Data manipulation and tabular data handling for metabolite identification results)
- PyQt5 (GUI framework for ROIAL-NMR interactive analysis interface)
- openpyxl (Excel file reading and writing for parameter input and result export)
Examples
git clone https://github.com/Leo-Cheng-Lab/ROIAL-NMR && cd ROIAL-NMR && python -m venv env && source env/bin/activate && pip install XlsxWriter==3.2.2 pandas==2.2.3 PyQt5==5.15.11 openpyxl==3.1.5 && python main.py
Evaluation signals
- Virtual environment successfully created and activated with the specified Python version.
- All pinned dependencies install without version conflicts or deprecation warnings.
- Entrypoint command (
python main.py) executes without ImportError, ModuleNotFoundError, or AttributeError.
- Application initializes to a usable state (GUI window displays, or CLI prompt appears, with no stderr tracebacks).
- No runtime errors occur during the first interaction with the application (e.g., opening the default analysis template or viewing the main window).
Limitations
- This skill verifies only that the documented environment can be instantiated; it does not validate that analysis results are correct or that the tool functions correctly on real data.
- Platform-specific issues (e.g., PyQt5 on headless servers, macOS vs. Linux linker differences) may cause entrypoint failures despite correct dependency versions.
- No changelog is provided in the repository, so it is not possible to trace which dependency versions correspond to which feature set or bug fixes.
- Pinned dependency versions may become outdated or unavailable on PyPI, requiring alternative versions or manual source builds.
Evidence
- [other] ROIAL-NMR requires Python >=3.9 and five pinned dependencies (XlsxWriter 3.2.2, pandas 2.2.3, PyQt5 5.15.11, openpyxl 3.1.5): "ROIAL-NMR requires Python >=3.9 and five pinned dependencies (XlsxWriter 3.2.2, pandas 2.2.3, PyQt5 5.15.11, openpyxl 3.1.5) to be installed"
- [other] Clone the ROIAL-NMR repository from github.com/Leo-Cheng-Lab/ROIAL-NMR. Create a Python virtual environment with Python ≥3.9.: "Clone the ROIAL-NMR repository from github.com/Leo-Cheng-Lab/ROIAL-NMR. 2. Create a Python virtual environment with Python ≥3.9."
- [other] Install dependencies using pip with exact versions and Execute
python main.py to confirm the entrypoint is invokable and the application initializes without import or runtime errors.: "Install dependencies using pip with exact versions: XlsxWriter 3.2.2, pandas 2.2.3, PyQt5 5.15.11, and openpyxl 3.1.5. 4. Execute python main.py to confirm the entrypoint is invokable and the"
- [readme] Python version and packages requirements with exact pinned versions: "1. Python>=3.9
- XlsxWriter 3.2.2
- pandas 2.2.3
- PyQt5 5.15.11
- openpyxl 3.1.5"
1---2name: repository-cloning-and-initialization3description: Use when you have a GitHub repository URL, a documented Python version requirement, and a list of pinned package versions, and you need to verify that the application will initialize without import or runtime errors before proceeding to data analysis or method replication.4license: CC-BY-4.05---67# repository-cloning-and-initialization89## Summary1011Clone a scientific software repository and install its pinned dependencies in an isolated Python environment to verify the documented entrypoint is executable. This skill establishes a reproducible runtime for metabolomics analysis tools (or similar bioinformatics software) before conducting analysis.1213## When to use1415You have a GitHub repository URL, a documented Python version requirement, and a list of pinned package versions, and you need to verify that the application will initialize without import or runtime errors before proceeding to data analysis or method replication.1617## When NOT to use1819- The repository documentation does not specify pinned dependency versions (use a requirements file discovery step first).20- The application has no documented entrypoint or README with setup instructions.21- You already have a pre-configured containerized or conda environment and do not need to verify manual installation.2223## Inputs2425- GitHub repository URL26- Python version requirement (e.g., >=3.9)27- Pinned dependency list with exact version numbers2829## Outputs3031- Activated Python virtual environment with all dependencies installed32- Successful entrypoint invocation confirmation (no import or runtime errors)33- Initialized application instance ready for analysis3435## How to apply3637Clone the repository from the documented GitHub URL (e.g., github.com/Leo-Cheng-Lab/ROIAL-NMR). Create a new Python virtual environment with the required Python version (≥3.9 for ROIAL-NMR) to isolate dependencies. Install each pinned dependency using pip with exact version numbers (e.g., XlsxWriter==3.2.2, pandas==2.2.3, PyQt5==5.15.11, openpyxl==3.1.5). Execute the documented entrypoint command (e.g., `python main.py`) to confirm the application initializes, all imports resolve, and no runtime errors occur. Record success as confirmation that the environment is correctly configured and the tool is ready for use.3839## Related tools4041- **Python** (Runtime interpreter and environment manager for dependency installation and entrypoint execution) — https://www.anaconda.com/download/42- **XlsxWriter** (Excel file output generation for metabolite analysis results)43- **pandas** (Data manipulation and tabular data handling for metabolite identification results)44- **PyQt5** (GUI framework for ROIAL-NMR interactive analysis interface)45- **openpyxl** (Excel file reading and writing for parameter input and result export)4647## Examples4849```50git clone https://github.com/Leo-Cheng-Lab/ROIAL-NMR && cd ROIAL-NMR && python -m venv env && source env/bin/activate && pip install XlsxWriter==3.2.2 pandas==2.2.3 PyQt5==5.15.11 openpyxl==3.1.5 && python main.py51```5253## Evaluation signals5455- Virtual environment successfully created and activated with the specified Python version.56- All pinned dependencies install without version conflicts or deprecation warnings.57- Entrypoint command (`python main.py`) executes without ImportError, ModuleNotFoundError, or AttributeError.58- Application initializes to a usable state (GUI window displays, or CLI prompt appears, with no stderr tracebacks).59- No runtime errors occur during the first interaction with the application (e.g., opening the default analysis template or viewing the main window).6061## Limitations6263- This skill verifies only that the documented environment can be instantiated; it does not validate that analysis results are correct or that the tool functions correctly on real data.64- Platform-specific issues (e.g., PyQt5 on headless servers, macOS vs. Linux linker differences) may cause entrypoint failures despite correct dependency versions.65- No changelog is provided in the repository, so it is not possible to trace which dependency versions correspond to which feature set or bug fixes.66- Pinned dependency versions may become outdated or unavailable on PyPI, requiring alternative versions or manual source builds.6768## Evidence6970- [other] ROIAL-NMR requires Python >=3.9 and five pinned dependencies (XlsxWriter 3.2.2, pandas 2.2.3, PyQt5 5.15.11, openpyxl 3.1.5): "ROIAL-NMR requires Python >=3.9 and five pinned dependencies (XlsxWriter 3.2.2, pandas 2.2.3, PyQt5 5.15.11, openpyxl 3.1.5) to be installed"71- [other] Clone the ROIAL-NMR repository from github.com/Leo-Cheng-Lab/ROIAL-NMR. Create a Python virtual environment with Python ≥3.9.: "Clone the ROIAL-NMR repository from github.com/Leo-Cheng-Lab/ROIAL-NMR. 2. Create a Python virtual environment with Python ≥3.9."72- [other] Install dependencies using pip with exact versions and Execute `python main.py` to confirm the entrypoint is invokable and the application initializes without import or runtime errors.: "Install dependencies using pip with exact versions: XlsxWriter 3.2.2, pandas 2.2.3, PyQt5 5.15.11, and openpyxl 3.1.5. 4. Execute `python main.py` to confirm the entrypoint is invokable and the"73- [readme] Python version and packages requirements with exact pinned versions: "1. [Python](https://www.anaconda.com/download/)>=3.9742. XlsxWriter 3.2.2753. pandas 2.2.3764. PyQt5 5.15.11775. openpyxl 3.1.5"