A computational framework to detect viral counts in paired-end scRNA-seq samples.
Project description
ViralScan
Introduction
ViralScan is a computational bioinformatics framework to detect viral load in samples. It is designed for the Leiden University Medical Centre (LUMC) to enable the detection of multiple viruses.
The tool can use both kb ref and kb count to perform scalable detection of the viral load.
Installation
ViralScan can be installed using pip in a Python environment:
pip install -i https://test.pypi.org/simple/ ViralScan
A conda environment is recommended. You can create one as follows:
conda create -n bioenv -c conda-forge -c bioconda snakemake kb-python
ViralScan is command-line based. To view available commands and options, run the following command:
viralscan --help
This will display all available options regarding the software, including an example.
Input Data
Reference Index
ViralScan requires an index created with kb ref (from thhe kb-python package). There are 2 options regarding the index:
- provide your own pre-built index, or;
- let ViralScan create its own index for you.
Reference data to create the index can be found on Zenodo (https://zenodo.org/uploads/16792022).
Samples
ViralScan expects paired-end FASTQ files (potentially gunzipped). Both sample files (forward and backward) must be provided for the analysis. Samples which can be used for testing: SRR20710651, SRR20710645 and SRR10307460
User Guide
There are 2 ways to run ViralScan: There are 2 options regarding the index:
-
- You already have a reference index built with kb-python
-
- You don't have a reference index and want ViralScan to create one for you
Please Note: all the output from ViralScan (including the logs and plots) will be created in the output folder defined by the user. To run ViralScan with option 1, run the following:
viralscan -t transcripts.txt -i index.idx -o output/ -s1 sample_1.fastq.gz -s2 sample_2.fastq.gz
If you want ViralScan to create a reference index for you, you have to provide the GTF and FASTA file(s). Running ViralScan to create a reference index and to perform the quantification can be done as follows:
viralscan -o output/ -reference True -s1 sample_1.fastq.gz -s2 sample_2.fastq.gz -fasta fasta.fasta -gtf gtf.gtf
The index will be placed in the output directory, in a subfolder called index.
If you have multiple samples, ViralScan can analyze them with 1 command. Just split the names of the samples with a comma (without a space in-between). The same is when you have multiple GTF and FASTA files. For example:
# If you have multiple samples
viralscan -t transcripts.txt -i index.idx -o output/ -s1 sample1_1.fastq.gz,sample2_1.fastq.gz -s2 sample1_2.fastq.gz,sample2_2.fastq.gz
# If you have multiple gtfs and fasta files
viralscan -o output/ -reference True -s1 sample_1.fastq.gz -s2 sample_2.fastq.gz -fasta fasta1.fasta,fasta2.fasta -gtf gtf1.gtf,gtf2.gtf
For information about other parameters or possibilities in ViralScan, call the help function:
viralscan --help
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters