Repository revision
7:4b0adaa31c95

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

Manipulate loom object tool metadata
Miscellaneous
Add layers, or row/column attributes to a loom file
modify_loom
toolshed.g2.bx.psu.edu/repos/iuc/modify_loom/modify_loom/0.7.5+galaxy1
0.7.5+galaxy1
python -c "import anndata as ad;print('anndata version: %s' % ad.__version__); import loompy;print('\nloompy version: %s' % loompy.__version__)"
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/iuc/modify_loom/modify_loom/0.10.3+galaxy1
toolshed.g2.bx.psu.edu/repos/iuc/modify_loom/modify_loom/0.7.5+galaxy1 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/modify_loom/modify_loom/0.7.5+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/modify_loom/modify_loom/0.7.4+galaxy1
toolshed.g2.bx.psu.edu/repos/iuc/modify_loom/modify_loom/0.6.22.post1+galaxy4
toolshed.g2.bx.psu.edu/repos/iuc/modify_loom/modify_loom/0.6.22.post1+galaxy3
toolshed.g2.bx.psu.edu/repos/iuc/modify_loom/modify_loom/0.6.22.post1+galaxy2
toolshed.g2.bx.psu.edu/repos/iuc/modify_loom/modify_loom/0.6.22.post1+galaxy1
modify_loom
Requirements (dependencies defined in the <requirements> tag set)
name version type
anndata 0.7.5 package
loompy 2.0.17 package
Additional information about this tool
cp '${input}' loom_add_out.loom &&
python '$__tool_directory__/modify_loom.py' -f 'loom_add_out.loom'
#if $which_add.add_type == "cols":
    -a cols -c '${which_add.cols}'
#else if $which_add.add_type == "cols":
    -a rows -r '${which_add.rows}'
#else if $which_add.add_type == "layers":
    -a layers -l '${which_add.layers}'
#end if
      
None
False
Functional tests
name inputs outputs required files
Test-1 input: addtest.loom
which_add|cols: cols.tsv
which_add|add_type: cols
name: value
addtest.loom
cols.tsv
value
Test-2 input: addtest.loom
which_add|rows: rows.tsv
which_add|add_type: rows
name: value
addtest.loom
rows.tsv
value
Test-3 input: addtest.loom
which_add|layers: addlayer1.tsv
which_add|add_type: layers
name: value
addtest.loom
addlayer1.tsv
value