Repository revision
21:5cc34c3f440d

Repository 'minimap2'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/minimap2

Map with minimap2 tool metadata
Miscellaneous
A fast pairwise aligner for genomic and spliced nucleotide sequences
minimap2
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.28+galaxy0
2.28+galaxy0
minimap2 --version
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.28+galaxy0 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.27+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.26+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.24+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.23+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.22+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.22+galaxy@VERSION_SUFFIX@
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.20+galaxy2
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.20+galaxy1
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.20+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.17+galaxy4
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.17+galaxy3
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.17+galaxy2
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.17+galaxy1
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.17+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.17
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.12
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.5+gx1
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.5
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.4.1
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.4
toolshed.g2.bx.psu.edu/repos/iuc/minimap2/minimap2/2.3
minimap2
Requirements (dependencies defined in the <requirements> tag set)
name version type
minimap2 2.28 package
samtools 1.19.2 package
Additional information about this tool
#if $reference_source.reference_source_selector == 'history':
        ln -f -s '$reference_source.ref_file' reference.fa &&
    #else:
        ln -f -s '$reference_source.ref_file.fields.path' reference.fa &&
    #end if
    minimap2
    #if str($fastq_input.analysis_type_selector) == 'self-homology':
        -DP -k19 -w19 -m200
    #elif $fastq_input.analysis_type_selector:
        -x ${fastq_input.analysis_type_selector}
    #end if

    ## indexing options
    $indexing_options.H
    #if str($indexing_options.k):
        -k $indexing_options.k
    #end if
    #if str($indexing_options.w):
        -w $indexing_options.w
    #end if
    #if str($indexing_options.I):
        -I $indexing_options.I
    #end if

    ## Mapping options
    #if str($mapping_options.f):
        -f $mapping_options.f
    #end if
    #if str($mapping_options.min_occ_floor):
        --min-occ-floor $mapping_options.min_occ_floor
    #end if
    --q-occ-frac $mapping_options.q_occ_frac
    #if str($mapping_options.g):
        -g $mapping_options.g
    #end if
    #if str($mapping_options.r):
        -r $mapping_options.r
    #end if
    #if str($mapping_options.n):
        -n $mapping_options.n
    #end if
    #if str($mapping_options.m):
        -m $mapping_options.m
    #end if
    #if str($mapping_options.max_chain_skip):
        --max-chain-skip $mapping_options.max_chain_skip
    #end if
    #if str($mapping_options.max_chain_iter):
        --max-chain-iter $mapping_options.max_chain_iter
    #end if
    $mapping_options.X
    #if str($mapping_options.p):
        -p $mapping_options.p
    #end if
    #if str($mapping_options.N):
        -N $mapping_options.N
    #end if
    #if str($mapping_options.mask_len):
        --mask-len $mapping_options.mask_len
    #end if
    #if str($mapping_options.kmer_ocurrence_interval.interval):
        -U $mapping_options.kmer_ocurrence_interval.lower_limit,$mapping_options.kmer_ocurrence_interval.upper_limit
    #end if
    ## Alignment options
    #if str($alignment_options.splicing.splice_mode) == '--splice':
        --frag=no --splice
        #if str($alignment_options.splicing.G):
            -G $alignment_options.splicing.G
        #end if
        #if str($alignment_options.splicing.C):
            -C $alignment_options.splicing.C
        #end if
        #if $alignment_options.splicing.u:
            -u $alignment_options.splicing.u
        #end if
        $alignment_options.splicing.splice_flank
        #if str($alignment_options.splicing.splice_site_annotations.use_annotations) == 'yes':
            --junc-bed '$alignment_options.splicing.splice_site_annotations.junc_bed'
            --junc-bonus $alignment_options.splicing.splice_site_annotations.junc_bonus
        #end if
    #elif str($mapping_options.F) and 'splice' not in str($fastq_input.analysis_type_selector):
        --frag=yes -F $mapping_options.F
    #end if
    #if str($alignment_options.A):
        -A $alignment_options.A
    #end if
    #if str($alignment_options.B):
        -B $alignment_options.B
    #end if
    #if str($alignment_options.O):
        #if str($alignment_options.O2):
            -O $alignment_options.O,$alignment_options.O2
        #else
            -O $alignment_options.O
        #end if
    #end if
    #if str($alignment_options.E):
        #if str($alignment_options.E2):
            -E $alignment_options.E,$alignment_options.E2
        #else
            -E $alignment_options.E
        #end if
    #end if
    #if str($alignment_options.z):
        #if str($alignment_options.z2):
            -z $alignment_options.z,$alignment_options.z2
        #else
            -z $alignment_options.z
        #end if
    #end if
    #if str($alignment_options.s):
        -s $alignment_options.s
    #end if
    $alignment_options.no_end_flt
    ## Output options
    $io_options.Q
    $io_options.L
    $io_options.c
    #if $io_options.cs:
        --cs=$io_options.cs
    #end if
    $io_options.Y
    #if $io_options.K:
        -K $io_options.K
    #end if
    -t \${GALAXY_SLOTS:-4}
    reference.fa
    #if $fastq_input.fastq_input_selector in ['single', 'paired_iv']:
        '$fastq_input.fastq_input1'
    #else if $fastq_input.fastq_input_selector == 'paired':
         '$fastq_input.fastq_input1' '$fastq_input.fastq_input2'
    #else if $fastq_input.fastq_input_selector == 'paired_collection':
         '$fastq_input.fastq_input1.forward' '$fastq_input.fastq_input1.reverse'
    #end if
    #if str($io_options.output_format) in ('BAM', 'CRAM'):
        -a | samtools view --no-PG -hT reference.fa
    #end if
    #if $io_options.output_format == 'BAM':
        | samtools sort
        -@\${GALAXY_SLOTS:-2}
        -T "\${TMPDIR:-.}"
        -O $io_options.output_format
        -o '$alignment_output'
    #else if $io_options.output_format == 'CRAM':
        | samtools sort
        -T "\${TMPDIR:-.}"
        -@\${GALAXY_SLOTS:-2}
        -O $io_options.output_format
        $io_options.eqx
        --reference reference.fa
        --output-fmt-option no_ref
        -o '$alignment_output'
    #else:
        > '$alignment_output'
    #end if

    
None
False
Functional tests
name inputs outputs required files
Test-1 reference_source|ref_file: bwa-mem-mt-genome.fa
reference_source|reference_source_selector: history
fastq_input|fastq_input1: bwa-mem-fasta1.fa
fastq_input|analysis_type_selector: sr
fastq_input|fastq_input_selector: single
name: value
bwa-mem-mt-genome.fa
bwa-mem-fasta1.fa
value
Test-2 reference_source|ref_file: bwa-mem-mt-genome.fa
reference_source|reference_source_selector: history
fastq_input|fastq_input1: bwa-mem-fasta1.fa
fastq_input|analysis_type_selector: sr
fastq_input|fastq_input_selector: single
io_options|output_format: CRAM
name: value
bwa-mem-mt-genome.fa
bwa-mem-fasta1.fa
value
Test-3 reference_source|ref_file: bwa-mem-mt-genome.fa
reference_source|reference_source_selector: history
fastq_input|fastq_input1: bwa-mem-fastq1.fq
fastq_input|fastq_input2: bwa-mem-fastq2.fq
fastq_input|fastq_input_selector: paired
name: value
bwa-mem-mt-genome.fa
bwa-mem-fastq1.fq
bwa-mem-fastq2.fq
value
Test-4 reference_source|ref_file: bwa-mem-mt-genome.fa
reference_source|reference_source_selector: history
fastq_input|fastq_input1: bwa-mem-fastq1.fq.gz
fastq_input|fastq_input2: bwa-mem-fastq2.fq
fastq_input|fastq_input_selector: paired
name: value
bwa-mem-mt-genome.fa
bwa-mem-fastq1.fq.gz
bwa-mem-fastq2.fq
value
Test-5 reference_source|ref_file: bwa-mem-mt-genome.fa
reference_source|reference_source_selector: history
fastq_input|fastq_input1: paired collection
fastq_input|fastq_input_selector: paired_collection
name: value
bwa-mem-mt-genome.fa
bwa-mem-fastq1.fq
bwa-mem-fastq2.fq
value
Test-6 reference_source|ref_file: bwa-mem-mt-genome
reference_source|reference_source_selector: cached
fastq_input|fastq_input1: bwa-mem-fasta1.fa
fastq_input|analysis_type_selector: sr
fastq_input|fastq_input_selector: single
name: value
bwa-mem-fasta1.fa
value
Test-7 reference_source|ref_file: bwa-mem-mt-genome
reference_source|reference_source_selector: cached
fastq_input|fastq_input1: bwa-mem-fasta1.fa
fastq_input|analysis_type_selector: sr
fastq_input|fastq_input_selector: single
mapping_options|min_occ_floor: 1000
alignment_options|A: 2
alignment_options|B: 8
alignment_options|O: 12
alignment_options|O2: 32
alignment_options|E: 2
alignment_options|E2: 1
alignment_options|z: 400
alignment_options|s: 40
io_options|cs: none
name: value
bwa-mem-fasta1.fa
value
Test-8 reference_source|ref_file: mini_reads.fq
reference_source|reference_source_selector: history
fastq_input|fastq_input1: mini_reads.fq
fastq_input|analysis_type_selector: ava-ont
fastq_input|fastq_input_selector: single
io_options|output_format: paf
name: value
mini_reads.fq
value
Test-9 reference_source|ref_file: minimap2-self-homology.fasta
reference_source|reference_source_selector: history
fastq_input|fastq_input1: minimap2-self-homology.fasta
fastq_input|analysis_type_selector: self-homology
fastq_input|fastq_input_selector: single
name: value
minimap2-self-homology.fasta
value
Test-10 reference_source|ref_file: bwa-mem-mt-genome.fa
reference_source|reference_source_selector: history
fastq_input|fastq_input1: bwa-mem-fasta1.fa
fastq_input|analysis_type_selector: sr
fastq_input|fastq_input_selector: single
mapping_options|mask_len: 100
name: value
bwa-mem-mt-genome.fa
bwa-mem-fasta1.fa
value
Test-11 reference_source|ref_file: pacbio_hifi_assembly.fa.gz
reference_source|reference_source_selector: history
fastq_input|fastq_input1: pacbio_hifi_reads.fasta.gz
fastq_input|analysis_type_selector: map-hifi
fastq_input|fastq_input_selector: single
name: value
pacbio_hifi_assembly.fa.gz
pacbio_hifi_reads.fasta.gz
value
Test-12 reference_source|ref_file: pacbio_hifi_assembly.fa
reference_source|reference_source_selector: history
fastq_input|fastq_input1: pacbio_hifi_reads.fasta.gz
fastq_input|analysis_type_selector: map-hifi
fastq_input|fastq_input_selector: single
name: value
pacbio_hifi_assembly.fa
pacbio_hifi_reads.fasta.gz
value
Test-13 reference_source|ref_file: bwa-mem-mt-genome.fa
reference_source|reference_source_selector: history
fastq_input|fastq_input1: bwa-mem-fasta1.fa
fastq_input|analysis_type_selector: sr
fastq_input|fastq_input_selector: single
mapping_options|kmer_ocurrence_interval|lower_limit: 10
mapping_options|kmer_ocurrence_interval|upper_limit: 30
mapping_options|kmer_ocurrence_interval|interval: enabled
name: value
bwa-mem-mt-genome.fa
bwa-mem-fasta1.fa
value