File: makeimage

package info (click to toggle)
circos-tools 0.23-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 39,188 kB
  • sloc: perl: 6,551; sh: 56; makefile: 16
file content (27 lines) | stat: -rwxr-xr-x 699 bytes parent folder | download | duplicates (3)
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
27
#!/bin/bash

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

echo 
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 
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 "Drawing Circos image using etc/circos.conf and parsed files from data/"
../../bin/circos -conf etc/circos.conf -outputfile table-$n.png | grep created