User Manual#
splam#
usage: splam [-h] [-v] [-c] {extract,score,clean} ...
splice junction predictor to improve alignment files (BAM / CRAM)
optional arguments:
-h, --help show this help message and exit
-v, --version
-c, --citation
Commands:
{extract,score,clean}
extract Extracting all splice junctions from an alignment or annotation file
score Scoring all splice junctions
clean Cleaning up spurious splice alignment
splam extract#
usage: splam extract [-h] [-V] [-P] [-n] [-f FILE_FORMAT] [-o DIR] [-M DIST] [-g GAP] INPUT
positional arguments:
INPUT target alignment file in BAM format or annotation file in GFF format.
optional arguments:
-h, --help show this help message and exit
-V, --verbose running splam in verbose mode.
-P, --paired bundling alignments in "paired-end" mode.
-n, --write-junctions-only
writing out splice junction bed file only without other temporary files.
-f FILE_FORMAT, --file-format FILE_FORMAT
the file type for SPLAM to process. It can only be "BAM", "GFF", or "GTF". The default value is "BAM".
-o DIR, --outdir DIR the directory where the output file is written to. Default output filename is "junction_score.bed"
-M DIST, --max-splice DIST
maximum splice junction length
-g GAP, --bundle-gap GAP
minimum gap between bundles
splam score#
usage: splam score [-h] [-V] [-o DIR] [-b BATCH] [-d pytorch_dev] -G REF.fasta -m MODEL.pt junction_BED
positional arguments:
junction_BED target splice junctions in bed files.
optional arguments:
-h, --help show this help message and exit
-V, --verbose
-o DIR, --outdir DIR the directory where the output file is written to. Default output filename is "junction_score.bed"
-b BATCH, --batch-size BATCH
the number of samples that will be propagated through the network. By default, the batch size is set to 10.
-d pytorch_dev, --device pytorch_dev
the computing device that is used to perform computations on tensors and execute operations in the PyTorch framework. By
default, this parameter is detectd automatically.
-G REF.fasta, --reference-genome REF.fasta
The path to the reference genome.
-m MODEL.pt, --model MODEL.pt
the path to the SPLAM! model
splam clean#
usage: splam clean [-h] [-@ threads] [-t threshold] -o DIR
optional arguments:
-h, --help show this help message and exit
-@ threads, --threads threads
Set number of sorting, compression and merging threads. By default, operation is single-threaded.
-t threshold, --threshold threshold
The cutoff threshold for identifying spurious splice junctions.
-o DIR, --outdir DIR the directory where the output file is written to. Default output filename is "junction_score.bed".