Repository revision
1:7157accd23d0

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

dRep compare tool metadata
Miscellaneous
dRep compare
compare a list of genomes
drep_compare
toolshed.g2.bx.psu.edu/repos/iuc/drep_compare/drep_compare/3.2.2+galaxy0
3.2.2+galaxy0
None
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/iuc/drep_compare/drep_compare/3.3.0+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/drep_compare/drep_compare/3.2.2+galaxy0 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/drep_compare/drep_compare/2.5.4.0
drep_compare
Requirements (dependencies defined in the <requirements> tag set)
name version type
drep 3.2.2 package
Additional information about this tool
#import re
#set $genomefiles = []
#for $genome in $genomes
    #set $input_name = $re.sub('[^\w\-_.]', '_',str($genome.element_identifier.split('/')[-1]))
ln -s '${genome}' '${input_name}.fasta' &&
$genomefiles.append($input_name)
#end for
    
dRep compare outdir

    -g
#for $genomefile in $genomefiles
    '${genomefile}.fasta'
#end for
    

#if $comp_clust.steps.select == 'default'
    
    --MASH_sketch '$comp_clust.steps.MASH_sketch'
    --P_ani $comp_clust.steps.P_ani
    $comp_clust.steps.multiround_primary_clustering
    --primary_chunksize $comp_clust.steps.primary_chunksize

    
    --S_algorithm '$comp_clust.steps.clustering.S_algorithm'
    #if $comp_clust.steps.clustering.S_algorithm == 'fastANI'
    $comp_clust.steps.clustering.greedy_secondary_clustering
    #else if $comp_clust.steps.clustering.S_algorithm == 'ANImf'
    
    --n_PRESET '$comp_clust.steps.clustering.n_PRESET'

    
    --coverage_method '$comp_clust.steps.clustering.coverage_method'

    #else if $comp_clust.steps.clustering.S_algorithm == 'ANIn'
    
    --n_PRESET '$comp_clust.steps.clustering.n_PRESET'

    
    --coverage_method '$comp_clust.steps.clustering.coverage_method'

    #end if
    --S_ani $comp_clust.steps.S_ani
    --cov_thresh $comp_clust.steps.cov_thresh

#else if $comp_clust.steps.select == 'SkipMash'
    --SkipMash
    
    --S_algorithm '$comp_clust.steps.clustering.S_algorithm'
    #if $comp_clust.steps.clustering.S_algorithm == 'fastANI'
    $comp_clust.steps.clustering.greedy_secondary_clustering
    #else if $comp_clust.steps.clustering.S_algorithm == 'ANImf'
    
    --n_PRESET '$comp_clust.steps.clustering.n_PRESET'

    
    --coverage_method '$comp_clust.steps.clustering.coverage_method'

    #else if $comp_clust.steps.clustering.S_algorithm == 'ANIn'
    
    --n_PRESET '$comp_clust.steps.clustering.n_PRESET'

    
    --coverage_method '$comp_clust.steps.clustering.coverage_method'

    #end if
    --S_ani $comp_clust.steps.S_ani
    --cov_thresh $comp_clust.steps.cov_thresh

#else
    
    --MASH_sketch '$comp_clust.steps.MASH_sketch'
    --P_ani $comp_clust.steps.P_ani
    $comp_clust.steps.multiround_primary_clustering
    --primary_chunksize $comp_clust.steps.primary_chunksize

    --SkipSecondary
#end if
    --clusterAlg '$comp_clust.clusterAlg'
    $comp_clust.run_tertiary_clustering


    --warn_dist $warning.warn_dist
    --warn_sim $warning.warn_sim
    --warn_aln $warning.warn_aln

    
None
False
Functional tests
name inputs outputs required files
Test-1 genomes: ['Enterococcus_casseliflavus_EC20.fasta', 'Enterococcus_faecalis_T2.fna', 'Enterococcus_faecalis_TX0104.fa']
comp_clust|steps|MASH_sketch: 1000
comp_clust|steps|P_ani: 0.9
comp_clust|steps|multiround_primary_clustering: False
comp_clust|steps|primary_chunksize: 5000
comp_clust|steps|clustering|n_PRESET: normal
comp_clust|steps|clustering|coverage_method: larger
comp_clust|steps|clustering|S_algorithm: ANImf
comp_clust|steps|S_ani: 0.99
comp_clust|steps|cov_thresh: 0.1
comp_clust|steps|select: default
comp_clust|clusterAlg: average
comp_clust|run_tertiary_clustering: False
warning|warn_dist: 0.25
warning|warn_sim: 0.98
warning|warn_aln: 0.25
select_outputs: ['log', 'warnings', 'Primary_clustering_dendrogram', 'Clustering_scatterplots']
name: value
Enterococcus_casseliflavus_EC20.fasta
Enterococcus_faecalis_T2.fna
Enterococcus_faecalis_TX0104.fa
value
Test-2 genomes: ['001', '002', '003']
comp_clust|steps|MASH_sketch: 1000
comp_clust|steps|P_ani: 0.9
comp_clust|steps|multiround_primary_clustering: False
comp_clust|steps|primary_chunksize: 5000
comp_clust|steps|clustering|n_PRESET: normal
comp_clust|steps|clustering|coverage_method: larger
comp_clust|steps|clustering|S_algorithm: ANImf
comp_clust|steps|S_ani: 0.99
comp_clust|steps|cov_thresh: 0.1
comp_clust|steps|select: default
comp_clust|clusterAlg: average
comp_clust|run_tertiary_clustering: False
warning|warn_dist: 0.25
warning|warn_sim: 0.98
warning|warn_aln: 0.25
select_outputs: ['log', 'warnings', 'Primary_clustering_dendrogram', 'Clustering_scatterplots']
name: value
001
002
003
value