{"__v":0,"_id":"5820dbf7c282a21b000af937","category":{"project":"57618347b65324200072d6a5","version":"57618347b65324200072d6a8","_id":"5761912d207db7170022fbe9","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2016-06-15T17:32:29.121Z","from_sync":false,"order":2,"slug":"workflows","title":"Workflows"},"project":"57618347b65324200072d6a5","user":"57617c8caa540f3600bfed20","version":{"__v":8,"_id":"57618347b65324200072d6a8","project":"57618347b65324200072d6a5","createdAt":"2016-06-15T16:33:11.587Z","releaseDate":"2016-06-15T16:33:11.587Z","categories":["57618347b65324200072d6a9","5761912d207db7170022fbe9","57619455a7c9f729009a74e0","576e8ae1f37ab41700147471","5797b8e5209a6e0e00b8321b","57989a8817ced017003c4c69","579ca6f3d46f960e0029a8ec","579ca703fefb1d0e00c94f06"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"blobtools v0.9.19","version_clean":"0.9.19","version":"0.9.19"},"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-11-07T19:54:31.959Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":999,"body":"### Motivation\n* Change the label of contigs in order to group contigs under one label\n\n### Example\n* test.blobDB.json\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"#Generate a table view of the blobDB\\n~/git/blobtools/blobtools plot \\\\\\n\\t-i test_files/blobDB.json \\\\\\n  -r species \\\\\\n  --label test=no-hit,Ascaris\\\\ lumbricoides,Microbacterium\\\\ testaceum\",\n      \"language\": \"text\"\n    }\n  ]\n}\n[/block]\n\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/5638328-blobDB.json.bestsum.species.p7.span.100.userlabel_test.blobplot.bam0.png\",\n        \"blobDB.json.bestsum.species.p7.span.100.userlabel_test.blobplot.bam0.png\",\n        3500,\n        3500,\n        \"#f3f3f3\"\n      ]\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"re-label-a-blobplot","type":"basic","title":"Re-label a blobplot"}

Re-label a blobplot


### Motivation * Change the label of contigs in order to group contigs under one label ### Example * test.blobDB.json [block:code] { "codes": [ { "code": "#Generate a table view of the blobDB\n~/git/blobtools/blobtools plot \\\n\t-i test_files/blobDB.json \\\n -r species \\\n --label test=no-hit,Ascaris\\ lumbricoides,Microbacterium\\ testaceum", "language": "text" } ] } [/block] [block:image] { "images": [ { "image": [ "https://files.readme.io/5638328-blobDB.json.bestsum.species.p7.span.100.userlabel_test.blobplot.bam0.png", "blobDB.json.bestsum.species.p7.span.100.userlabel_test.blobplot.bam0.png", 3500, 3500, "#f3f3f3" ] } ] } [/block]