File: makeimage

package info (click to toggle)
circos-tools 0.16-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 19,684 kB
  • sloc: perl: 4,450; sh: 46; makefile: 15
file content (26 lines) | stat: -rwxr-xr-x 698 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash

if [ -n "$1" ] 
then
n=$1
else
n=01
fi

echo "****************************************************************"
echo "Creating test image $n."
echo "For other tables, see samples/parse-table-X.conf and then use"
echo ""
echo "> makeimage X"
echo ""
echo "e.g. makeimage 02a"
echo "****************************************************************"

echo "Parsing table and creating conf/data files in data/"
cat samples/table-$n.txt | bin/parse-table -conf samples/parse-table-$n.conf | bin/make-conf -dir data
echo ""
echo "Drawing Circos image using etc/circos.conf and parsed files from data/"
../../bin/circos -conf etc/circos.conf -outputfile table-$n.png | grep created
echo ""