Miscellaneous |
Version lineage of this tool (guids ordered most recent to oldest) |
toolshed.g2.bx.psu.edu/repos/iuc/circos/circos/0.69.8+galaxy12 (this tool) |
toolshed.g2.bx.psu.edu/repos/iuc/circos/circos/0.69.8+galaxy10 |
toolshed.g2.bx.psu.edu/repos/iuc/circos/circos/0.69.8+galaxy9 |
toolshed.g2.bx.psu.edu/repos/iuc/circos/circos/0.69.8+galaxy8 |
toolshed.g2.bx.psu.edu/repos/iuc/circos/circos/0.69.8+galaxy7 |
toolshed.g2.bx.psu.edu/repos/iuc/circos/circos/0.69.8+galaxy6 |
toolshed.g2.bx.psu.edu/repos/iuc/circos/circos/0.69.8+galaxy1 |
circos |
Requirements (dependencies defined in the <requirements> tag set) |
name | version | type |
circos | 0.69.8 | package |
bcbiogff | 0.6.6 | package |
biopython | 1.79 | package |
pybigwig | 0.3.18 | package |
circos-tools | 0.23 | package |
grep | 3.10 | package |
tar | 1.34 | package |
Additional information about this tool |
## Directory structure mkdir -p circos/conf/ circos/data/; #if $reference_genome.ref.ref_source == 'history': ln -s '$reference_genome.ref.genome_fasta' genomeref.fa; #end if #if $reference_genome.ref.ref_source in ('lengths', 'cached'): python '$__tool_directory__/karyotype-from-lengths.py' #if $reference_genome.ref.ref_source == 'lengths' '${reference_genome.ref.input_lengths}' #else #if $ideogram.limit_chromosomes: ## If they are limiting the chromosomes, ensure they have access to the full list '${reference_genome.ref.fasta_indexes.fields.len_path}' #else ## Otherwise only the reduced list, as the full list will often overwhelm circos <(head -n 50 '${reference_genome.ref.fasta_indexes.fields.len_path}') #end if #end if > circos/conf/karyotype.txt; #else if $reference_genome.ref.ref_source == 'karyotype': cp '${reference_genome.ref.input_karyotype}' circos/conf/karyotype.txt; #else if str($reference_genome.ref.ref_source) == 'history': ## Process the karyotype.txt file python '$__tool_directory__/karyotype-from-fasta.py' genomeref.fa > circos/conf/karyotype.txt; #else if $reference_genome.ref.ref_source == 'preset': cp '$__tool_directory__/karyotype/${reference_genome.ref.preset_karyotype}' circos/conf/karyotype.txt; #end if python '$__tool_directory__/karyotype-colors.py' `grep -c '^chr\s' 'circos/conf/karyotype.txt'` > 'circos/conf/karyotype-colors.conf'; touch circos/conf/karyotype-colors.conf; ## #if $ideogram.bands.bands: ## #if $ideogram.bands.convert_bands: ## python '$__tool_directory__/process-cytogenetic-bands.py' ## '${ideogram.bands.bands}' ## >> circos/conf/karyotype.txt ## 2> circos/conf/karyotype-colors.conf; ## #else ## cat '${ideogram.bands.bands}' ## >> circos/conf/karyotype.txt; ## #end if ## #end if #if $plot_options.colour_profile: #if str($plot_options.colour_profile) == 'cg': cat '$__tool_directory__/colours/cg.conf' >> circos/conf/karyotype-colors.conf; #end if #end if cp '$circos_conf' circos/conf/circos.conf ; cp '$ticks_conf' circos/conf/ticks.conf ; cp '$ideogram_conf' circos/conf/ideogram.conf ; cp '$data_conf' circos/conf/data.conf ; cp '$links_conf' circos/conf/links.conf ; cp '$test_case_conf' circos/conf/galaxy_test_case.json ; ## 2D Data Plots #for $hi, $data in enumerate($sec_tdd.data): cp '${data.plot_format.data_source}' circos/data/data-${hi}.txt ; #end for ## Link Tracks #for $hi, $data in enumerate($sec_links.data): cp '${data.data_source}' circos/data/links-${hi}.txt ; #end for #if $outputs.tar == "yes" tar -czf circos.tar.gz circos ; #end if #if $outputs.svg == "yes" or $outputs.png == "yes": circos -conf circos/conf/circos.conf -noparanoid #end if
Functional tests |
name | inputs | outputs | required files |
Test-1 |
reference_genome|ref|genome_fasta: 1/input.fa reference_genome|ref|ref_source: history outputs|png: True outputs|svg: True |
name: value name: value |
1/input.fa value |
Test-2 |
reference_genome|ref|genome_fasta: too-many.fa reference_genome|ref|ref_source: history |
too-many.fa |
|
Test-3 |
reference_genome|ref|genome_fasta: 1/input.fa reference_genome|ref|ref_source: history ideogram|units: kb sec_tdd|data_0|r1: 0.9 sec_tdd|data_0|r0: 0.8 sec_tdd|data_0|plot_format|data_source: 1/sine.tab sec_tdd|data_0|plot_format|plot_format_select: histogram sec_tdd|data_1|r1: 0.8 sec_tdd|data_1|r0: 0.7 sec_tdd|data_1|plot_format|data_source: 1/sine.tab sec_tdd|data_1|plot_format|plot_format_select: scatter sec_tdd|data_2|r1: 0.7 sec_tdd|data_2|r0: 0.6 sec_tdd|data_2|plot_format|data_source: 1/tiles.bed sec_tdd|data_2|plot_format|plot_format_select: tile sec_links|data_0|radius: 0.59 sec_links|data_0|data_source: 1/links.txt sec_links|data_0|linktype|ribbon: yes ticks|tick_group_0|spacing: 1 ticks|tick_group_1|spacing: 5 ticks|tick_group_1|ticks|format: %.1f ticks|tick_group_1|ticks|show_tick_labels: yes outputs|svg: True |
name: value name: value |
1/input.fa 1/sine.tab 1/tiles.bed 1/links.txt value |
Test-4 |
reference_genome|ref|genome_fasta: 1/input.fa reference_genome|ref|ref_source: history outputs|png: False outputs|svg: False outputs|tar: True |
name: value |
1/input.fa value |
Test-5 |
reference_genome|ref|input_karyotype: 3/chrom.tab reference_genome|ref|ref_source: karyotype outputs|png: True |
name: value |
3/chrom.tab value |