-
Notifications
You must be signed in to change notification settings - Fork 51
Dependencies and installation
Non-comprehensive list of the main dependencies for SQANTI3:
- Perl
- Minimap2
- Python (3.7)
- R (>= 3.4.0)
- kallisto
- samtools
- STAR
- uLTRA
- deSALT
- pip
- bx-python
- BioPython
- BCBioGFF
- cDNA_Cupcake
- cython
- NumPy
- pysam
- pybedtools
- psutil
- pandas
- scipy
- R packages for
sqanti3_qc.py
andsqanti3_filter.py
(installed when creating the conda environment):
- We have downloaded gtfToGenePred from UCSC utilities and gave execution permissions, so it is no longer necessary to do it after downloading SQANTI3.
We recommend using Anaconda to substantially facilitate installation of all Python dependencies. Probably you already have Anaconda installed because you use BioConda IsoSeq(3) or cDNA_Cupcake. Please, follow the steps here to ensure an error-free installation. All the dependencies will be installed automatically in a conda environment, except for cDNA_Cupcake (more details in step 5). The installation will be done just once. When the environment has been entirely built, you just need to activate the conda environment of SQANTI3 and run it!
Make sure you have installed Anaconda. If so, you may add it to your PATH variable and update it -if necessary- as follows:
export PATH=$HOME/anacondaPy37/bin:$PATH
conda -V
conda update conda
If you have not installed Anaconda, the generic installer for Linux OS can be found here. Note that only Linux and Mac machines are currently supported.
Next, download the latest stable SQANTI3 release. As of May 11th 2022, the current version is v5.0.
For general users, we recommend downloading the SQANTI3 repository as follows:
wget https://github.com/ConesaLab/SQANTI3/archive/refs/tags/v5.0.tar.gz
tar -xvf v5.0.tar.gz
Alternatively, if you have intentions of contributing to the development of SQANTI3, please clone the developer version. This option will set up a git repository within your SQANTI folder and is NOT recommended for general users.
git clone https://github.com/ConesaLab/SQANTI3.git
To use SQANTI3, you will need to move into the SQANTI3 folder that you just downloaded and create a virtual
environment including all required packages. All you need to do is run the SQANTI3.conda_env.yml
script that
you can find in the main SQANTI folder:
cd SQANTI3
conda env create -f SQANTI3.conda_env.yml
source activate SQANTI3.env
This script contains all the information required to install the SQANTI3 dependencies.
As the environment creation progresses, you will need to type y
when prompted to proceed with the installation.
Note that you may change the name of the environment using the -n
argument to the conda env create
command.
By default, the name of the environment will be SQANTI3.env.
Once you have activated the virtual environment, you should see your prompt changing to something like this:
(SQANTI3.env)$
SQANTI requires manual installation of gtfToGenePred.
This tool seems to have some issues with Python 3.7 (or openssl) when installed via conda.
At this point, the easiest solution is to download it from the UCSC website
and add it to the SQANTI3/utilities
folder you will need to make the file executable) or to your PATH
variable.
wget http://hgdownload.cse.ucsc.edu/admin/exe/linux.x86_64/gtfToGenePred -P <path_to>/SQANTI3/utilities/
chmod +x <path_to>/SQANTI3/utilities/gtfToGenePred
For Linux users, the right version of gtfToGenePred is already in the utilities
folder. However, if you are running
SQANTI3 on MacOS, you must remove the utilities/gtfToGenePred
file and download the Mac version here.
Finally, users need to install cDNA_Cupcake. Check that you have activated the SQANTI3.env
environment and then proceed with the following commands:
(SQANTI3.env)$ git clone https://github.com/Magdoll/cDNA_Cupcake.git
(SQANTI3.env)$ cd cDNA_Cupcake
(SQANTI3.env)$ python setup.py build
(SQANTI3.env)$ python setup.py install
Now you are all set up! No further installation of SQANTI3 is required, and the scripts can be run directly using python.
See detailed instructions to run SQANTI3 quality control and the SQANTI3 filter in the dedicated wiki pages.
Wiki index
- Introduction to SQANTI3
- Dependencies and installation
- Version history
- Isoform classification: categories and subcategories
- Running SQANTI3 quality control
- Understanding the output of SQANTI3 QC
- IsoAnnotLite
- Running SQANTI3 filter
- Running SQANTI3 rescue
- Tutorial: running SQANTI3 on an example dataset
- Running SQANTI-reads
- Memory requirements to use parallelization