This repository provides a Bash script (MyAnalysisProject_script.sh
) to set up a standardized folder structure for organizing analysis projects. The script creates directories for data, notebooks, scripts, reports, and results, along with essential files like environment.yml
and README.md
.
-
Download the Script:
- Download the
MyAnalysisProject_script.sh
script to your computer. - Save the script in a directory where you want to create a new analysis project folder.
- Download the
-
Give Execute Permission:
- Open a terminal and navigate to the directory where the script is located.
- Run the following command to give execute permission to the script:
chmod +x MyAnalysisProject_script.sh
- Run the Script:
- In the terminal, execute the script by providing a project name as an argument:
./MyAnalysisProject_script.sh <project_name>
Replace <project_name>
with the desired name of your analysis project. For example:
./MyAnalysisProject_script.sh MyAnalysisProject
-
Folder Structure:
- After running the script, a new folder named
MyAnalysisProject
(or the project name you provided) will be created in the current directory. - Inside this folder, you'll find the standardized analysis project structure, including subdirectories for data, notebooks, scripts, reports, results, and the environment file (
environment.yml
) for reproducibility.
- After running the script, a new folder named
-
Customization:
- Feel free to customize the script or modify the folder structure to suit your specific needs.
- You can add default content to the
README.md
file or include additional directories as required.
Suppose you want to create a new analysis project named "MyAnalysisProject." Follow the steps below:
-
Download the script to your computer.
-
Open a terminal and navigate to the directory where the script is located.
-
Give execute permission to the script:
chmod +x MyAnalysisProject_script.sh
- Run the script with the project name:
./MyAnalysisProject_script.sh MyAnalysisProject
- You'll find a new folder named
MyAnalysisProject
with the analysis project structure inside.
This project is licensed under the Creative Commons Attribution 4.0 License. This means you can use, modify, and share this project, even for commercial purposes, as long as proper attribution is given to the original author.