Skip to content

Options

davve2 edited this page Apr 27, 2020 · 1 revision

CanSNPer2

CanSNPer2

optional arguments:
  -h, --help            show this help message and exit

Required arguments:
  query                 File(s) to align (fasta)
  -db , --database      CanSNP database

Output options:
  -o DIR, --outdir DIR  Output directory
  --save_tree           Save tree as PDF using ETE3 (default False)
  --no_snpfiles         Don´t save output files.
  --summary             Output a summary file and tree with all called SNPs not affected by no_snpfiles

Run options:
  --refdir              Specify reference directory
  --workdir             Change workdir default (./)
  --read_input          Select if input is reads not fasta
  --min_required_hits MIN_REQUIRED_HITS
                        Minimum sequential hits to call a SNP!
  --keep_going          If Error occurs, continue with the rest of samples
  --rerun               Rerun already processed files (else skip if result file exists)
  --skip_mauve          If xmfa files already exists skip step
  --keep_temp           keep temporary files

Logging and debug options:
  --tmpdir              Specify reference directory
  --logdir              Specify log directory
  --verbose             Verbose output
  --debug               Debug output
  --supress             Supress warnings

CanSNPer2-download

CanSNPer2-download

optional arguments:
  -h, --help         show this help message and exit

Required:
  -db , --database   CanSNP database

Download options:
  -s , --source      Source for download (genbank/refseq)
  -o , --outdir      reference genomes folder

Logging and debug options:
  --logs             Specify log directory
  --verbose          Verbose logging

CanSNper2-database

CanSNPer2-database

optional arguments:
  -h, --help         show this help message and exit

Required:
  -db , --database   CanSNPer2 database name

Load database:
  --tree             CanSNPer tree source file
  --annotation       CanSNPer snp source file
  --references       File containing all reference genomes listed
  --source_type      Select source file type
  --create           Create new database!

Database modifications:
  --mod_file         File with modifications/update to the tree
  --parent           Node (or nodes matching tree file) from which to update/replace/remove
  --remove           If node is given, instead of replace/update remove branch from node
  --replace          replace node

Export database:
  --export           Export database to text format (exports tree and annotation file)
  --export_format    Select output format [newick, tab]
  -o , --outdir      outdir for database export!

Logging and debug options:
  --tmpdir           Specify tmp directory default (/tmp)
  --logs             Specify log directory
  --verbose          print process info, default no output
  --debug            print debug info
  --supress          supress warnings

Clone this wiki locally