Repository revision
15:098506c54016

Repository 'cactus_cactus'
hg clone https://toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus

Cactus tool metadata
Miscellaneous
Cactus
whole-genome multiple sequence alignment
cactus_cactus
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.7.1+galaxy0
2.7.1+galaxy0
None
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.7.1+galaxy0 (this tool)
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.6.7+galaxy0
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.6.4+galaxy1
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.5.1+galaxy1
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.5.1+galaxy0
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.4.4+galaxy0
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.4.3+galaxy0
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.4.2+galaxy0
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.4.1+galaxy0
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.4.0+galaxy0
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.2.4+galaxy1
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.2.4+galaxy0
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.2.1+galaxy1
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.2.1+galaxy0
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.1.1+galaxy0
toolshed.g2.bx.psu.edu/repos/galaxy-australia/cactus_cactus/cactus_cactus/2.0.5+galaxy0
cactus_cactus
Requirements (dependencies defined in the <requirements> tag set)
No requirements defined
Additional information about this tool
## Set up seqfile
        
        #if $aln_mode.aln_mode_select == 'interspecies':
            cat $aln_mode.in_tree >> seqfile.txt &&
        #end if
        #for $seq in $in_seqs:
            #set seq_fn = str($seq.label) + '.' + $seq.fasta.ext
            ln -s '$seq.fasta' '$seq_fn' &&
            printf '%s %s\n' '$seq.label' '$seq_fn' >> seqfile.txt 
            &&
        #end for

        ## Run cactus

        #if $aln_mode.aln_mode_select == 'intraspecies':
            ## Run cactus-pangenome
            ## --reference should be the first argument
            ## https://github.com/ComparativeGenomicsToolkit/cactus/issues/1093#issuecomment-1620088688
            cactus-pangenome 
            --reference $aln_mode.ref_level
            --binariesMode local
            --maxCores \${GALAXY_SLOTS:-4}
            --maxMemory \${GALAXY_MEMORY_MB:-16384}M    
            --outDir ./
            --outName alignment
            jobStore
            seqfile.txt
        #else if $aln_mode.aln_mode_select == 'interspecies':
            ## Run cactus normally
            cactus 
            --binariesMode local 
            --maxCores \${GALAXY_SLOTS:-4}
            --maxMemory \${GALAXY_MEMORY_MB:-16384}M
            --workDir ./
            jobStore
            seqfile.txt
            alignment.full.hal 
        #end if

    
None
False
Functional tests
name inputs outputs required files
Test-1 aln_mode|in_tree: test_tree.nhx
aln_mode|aln_mode_select: interspecies
in_seqs_0|label: simCow_chr6
in_seqs_0|fasta: simCow_chr6.fasta
in_seqs_1|label: simDog_chr6
in_seqs_1|fasta: simDog_chr6.fasta
in_seqs_2|label: simHuman_chr6
in_seqs_2|fasta: simHuman_chr6.fasta
in_seqs_3|label: simMouse_chr6
in_seqs_3|fasta: simMouse_chr6.fasta
in_seqs_4|label: simRat_chr6
in_seqs_4|fasta: simRat_chr6.fasta
name: value
test_tree.nhx
simCow_chr6.fasta
simDog_chr6.fasta
simHuman_chr6.fasta
simMouse_chr6.fasta
simRat_chr6.fasta
value
Test-2 aln_mode|ref_level: simCow_chr6
aln_mode|aln_mode_select: intraspecies
in_seqs_0|label: simCow_chr6
in_seqs_0|fasta: simCow_chr6.fasta
in_seqs_1|label: simDog_chr6
in_seqs_1|fasta: simDog_chr6.fasta
in_seqs_2|label: simHuman_chr6
in_seqs_2|fasta: simHuman_chr6.fasta
in_seqs_3|label: simMouse_chr6
in_seqs_3|fasta: simMouse_chr6.fasta
in_seqs_4|label: simRat_chr6
in_seqs_4|fasta: simRat_chr6.fasta
name: value
name: value
simCow_chr6.fasta
simDog_chr6.fasta
simHuman_chr6.fasta
simMouse_chr6.fasta
simRat_chr6.fasta
value
Test-3 aln_mode|ref_level: badheader1
aln_mode|aln_mode_select: intraspecies
in_seqs_0|label: badheader1
in_seqs_0|fasta: bh1.fasta.gz
in_seqs_1|label: badheader2
in_seqs_1|fasta: bh2.fasta.gz
name: value
name: value
bh1.fasta.gz
bh2.fasta.gz
value