Skip to content

dnieuw/Virconsens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virconsens

Tool to create a consensus sequence from mapped virus Nanopore data

Installation

  1. Clone this repository and cd Virconsens
  2. conda env create -f environment.yml --name virconsens
  3. conda activate virconsens
  4. pip install .

Full usage

usage: virconsens.py [-h] -b BAM -o OUT -n OUTNAME -r REFERENCE
                     [-vf VARIANTFILE] [-c CORES] [-d MINDEPTH] [-af MINAF]
                     [--maxdepth MAXDEPTH]

Virconsens

optional arguments:
  -h, --help            show this help message and exit
  -b BAM, --bam BAM     BAM file from which to create a consensus
  -o OUT, --out OUT     Output path for consensus fasta
  -n OUTNAME, --outname OUTNAME
                        Name to be given to the output consensus sequence
  -r REFERENCE, --reference REFERENCE
                        Reference genome fasta file
  -vf VARIANTFILE, --variantfile VARIANTFILE
                        Output path for variant tsv file
  -c CORES, --cores CORES
                        Number of cores to use for processing
  -d MINDEPTH, --mindepth MINDEPTH
                        Minimal depth at which to not consider any alternative
                        alleles
  -af MINAF, --minAF MINAF
                        Minimal allele frequency to output
  --maxdepth MAXDEPTH
                        Maximum depth to consider at any position

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages