File: star_loopheader

package info (click to toggle)
relion 1.4+dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,188 kB
  • sloc: cpp: 42,912; sh: 10,415; makefile: 267; ansic: 50; csh: 2
file content (31 lines) | stat: -rwxr-xr-x 675 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
28
29
30
31
#!/bin/bash -f
if [ $# != 0 ]; then
 echo "data_"
 echo "loop_"
 for i;
 do
  echo "_"${i}
 done;
else
 echo " === Usage: === "
 echo " ${0} <label1> <label2> ..."
 echo " "
 echo " === Purpose: === "
 echo " This (bash) script generates the header of STAR-file with the given labels"
 echo " "
 echo " === Example: ==="
 echo " ${0} rlnImageName rlnDefocusU rlnDefocusV rlnDefocusAngle rlnVoltage rlnSphericalAberration rlnAmplitudeContrast"
 echo " yields: "
 echo " data_"
 echo " loop_"
 echo " _rlnImageName"
 echo " _rlnDefocusU"
 echo " _rlnDefocusV"
 echo " _rlnDefocusAngle"
 echo " _rlnVoltage"
 echo " _rlnSphericalAberration"
 echo " _rlnAmplitudeContrast"
fi