Ensure your system is up-to-date and has necessary dependencies installed.
- Update your package index:
sudo apt-get updateandsudo apt updateserve the same purpose: they update the local package index. But apt update is the recommended command to use for most users due to its simpler syntax and user-friendly output. - Install build-essential: you can use this command:
sudo apt install build-essentialThe build-essential package typically includes various tools and libraries needed for building software from source code, such as compilers and development libraries. - If you encounter missing dependencies, use:
sudo apt-get install --fix-missingThis command will try to fix any missing dependencies that may prevent packages from being installed properly. It's useful if you encounter errors related to missing dependencies during the installation process. - Use
pwdto check your current location. You can usewgetto download the required tools.
Download the following tools and genomes:
- FASTQC v0.11.9
- Download link: FASTQC v0.11.9
- TRIMMOMATIC 0.39
- Download link: TRIMMOMATIC 0.39
- SAMTOOLS-1.18
- Download link: SAMTOOLS-1.18
- HISAT2 v2-2.2.1
- Download link: HISAT2 v2-2.2.1
- Get the genome: HISAT2 Genome # Don't forget to select your model's genome.
- featureCounts
- Download link: featureCounts
- Get the genome: featureCounts Genome
Follow these steps to create and execute a shell script:
- Open your terminal.
- Create a shell script file named "yourshfile.sh" using the text editor "gedit":
gedit yourshfile.sh
- Write your shell script code inside the editor.
- Save the file and close the editor.
- In the terminal, make the script executable:
chmod +x ./yourshfile.sh
- Now, you can run the script using:
./yourshfile.sh