Miscellaneous |
Version lineage of this tool (guids ordered most recent to oldest) |
toolshed.g2.bx.psu.edu/repos/iuc/checkm_plot/checkm_plot/1.2.0+galaxy0 (this tool) |
checkm_plot |
Requirements (dependencies defined in the <requirements> tag set) |
name | version | type |
checkm-genome | 1.2.0 | package |
samtools | 1.15.1 | package |
Additional information about this tool |
#import re mkdir 'bins' && #if $bins.select == 'collection' #for $b in $bins.bins_coll #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($b.element_identifier)) ln -s '$b.file_name' 'bins/${identifier}.fasta' && #end for #else #for $b in $bins.bins_ind #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($b.element_identifier)) ln -s '$b.file_name' 'bins/${identifier}.fasta' && #end for #end if #if $plot.command == 'gc_plot' checkm gc_plot 'bins' 'output' $plot.dist_value --extension 'fasta' --image_type '$image_type' --dpi $dpi --font_size $font_size --width $width --height $height #else if $plot.command == 'coding_plot' #for $i in $plot.gff #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($i.element_identifier)) mkdir -p 'inputs/bins/${identifier}' && ln -s '$i' 'inputs/bins/${identifier}/genes.gff' && #end for checkm coding_plot 'inputs' 'bins' 'output' $plot.dist_value --extension 'fasta' --image_type '$image_type' --dpi $dpi --font_size $font_size --width $width --height $height --cd_window_size $plot.cd_window_size --cd_bin_width $plot.cd_bin_width #else if $plot.command == 'tetra_plot' #for $i in $plot.gff #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($i.element_identifier)) mkdir -p 'inputs/bins/${identifier}' && ln -s '$i' 'inputs/bins/${identifier}/genes.gff' && #end for checkm tetra_plot 'inputs' 'bins' 'output' '$tetra_profile' $plot.dist_value --extension 'fasta' --image_type '$image_type' --dpi $dpi --font_size $font_size --width $width --height $height --td_window_size $plot.td_window_size --td_bin_width $plot.td_bin_width #else if $plot.command == 'dist_plot' #for $i in $plot.gff #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($i.element_identifier)) mkdir -p 'inputs/bins/${identifier}' && ln -s '$i' 'inputs/bins/${identifier}/genes.gff' && #end for checkm dist_plot 'inputs' 'bins' 'output' '$tetra_profile' $plot.dist_value --extension 'fasta' --image_type '$image_type' --dpi $dpi --font_size $font_size --width $width --height $height --gc_window_size $plot.gc_window_size --gc_bin_width $plot.gc_bin_width --cd_window_size $plot.cd_window_size --cd_bin_width $plot.cd_bin_width --td_window_size $plot.td_window_size --td_bin_width $plot.td_bin_width #else if $plot.command == 'nx_plot' checkm nx_plot 'bins' 'output' --extension 'fasta' --image_type '$image_type' --dpi $dpi --font_size $font_size --width $width --height $height --step_size $plot.step_size #else if $plot.command == 'len_hist' checkm len_hist 'bins' 'output' --extension 'fasta' --image_type '$image_type' --dpi $dpi --font_size $font_size --width $width --height $height #else if $plot.command == 'marker_plot' mkdir -p 'inputs/storage/' && cp '$marker_gene_stats' 'inputs/storage/marker_gene_stats.tsv' && cp '$bin_stats_ext' 'inputs/storage/bin_stats_ext.tsv' && #for $b in $plot.genes_fna #set $identifier = re.sub('[^\s\w\-\\.]', '_', str($b.element_identifier)) mkdir -p 'inputs/bins/${identifier}' && cp '$b.file_name' 'inputs/bins/${identifier}/genes.faa' && #end for checkm marker_plot 'inputs' 'bins' 'output' --extension 'fasta' --image_type '$image_type' --dpi $dpi --font_size $font_size --width $width --height $height --fig_padding $plot.fig_padding #else if $plot.command == 'gc_bias_plot' mkdir 'mapping' && ln -s '$bam_file' 'mapping.bam' && samtools index 'mapping.bam' 'mapping.bam.bai' && checkm gc_bias_plot 'bins' 'output' 'mapping.bam' --extension 'fasta' --image_type '$image_type' --dpi $dpi --font_size $font_size --width $width --height $height --window_size $plot.window_size $plot.all_reads --min_align $plot.min_align --max_edit_dist $plot.max_edit_dist --threads \${GALAXY_SLOTS:-1} #end if
Functional tests |
name | inputs | outputs | required files |
Test-1 |
bins|bins_coll: list collection bins|select: collection plot|dist_value: 100 plot|gc_window_size: 5000 plot|gc_bin_width: 0.01 plot|command: gc_plot image_type: eps dpi: 600 font_size: 8 width: 6.5 height: 3.5 |
637000110.fna |
|
Test-2 |
bins|bins_coll: list collection bins|select: collection plot|gff: list collection plot|dist_value: 100 plot|cd_window_size: 10000 plot|cd_bin_width: 0.01 plot|command: coding_plot image_type: png dpi: 600 font_size: 8 width: 6.5 height: 3.5 |
637000110.fna 637000110.gff |
|
Test-3 |
bins|bins_coll: list collection bins|select: collection plot|gff: list collection plot|tetra_profile: tetra plot|dist_value: 100 plot|td_window_size: 5000 plot|td_bin_width: 0.01 plot|command: tetra_plot image_type: pdf dpi: 600 font_size: 8 width: 6.5 height: 3.5 |
637000110.fna 637000110.gff tetra |
|
Test-4 |
bins|bins_coll: list collection bins|select: collection plot|gff: list collection plot|tetra_profile: tetra plot|dist_value: 100 plot|gc_window_size: 5000 plot|gc_bin_width: 0.01 plot|cd_window_size: 10000 plot|cd_bin_width: 0.01 plot|td_window_size: 5000 plot|td_bin_width: 0.01 plot|command: dist_plot image_type: png dpi: 600 font_size: 8 width: 6.5 height: 3.5 |
637000110.fna 637000110.gff tetra |
|
Test-5 |
bins|bins_coll: list collection bins|select: collection plot|step_size: 0.05 plot|command: nx_plot image_type: ps dpi: 600 font_size: 8 width: 6.5 height: 3.5 |
637000110.fna |
|
Test-6 |
bins|bins_coll: list collection bins|select: collection plot|fig_padding: 0.2 plot|command: len_hist image_type: svg dpi: 600 font_size: 8 width: 6.5 height: 3.5 |
637000110.fna |
|
Test-7 |
bins|bins_coll: list collection bins|select: collection plot|genes_fna: list collection plot|marker_gene_stats: marker_gene_stats.tsv plot|bin_stats_ext: bin_stats_ext.tsv plot|fig_padding: 0.2 plot|command: marker_plot image_type: png dpi: 600 font_size: 8 width: 6.5 height: 3.5 |
637000110.fna 637000110.faa marker_gene_stats.tsv bin_stats_ext.tsv |