File: createmanpages

package info (click to toggle)
chip-seq 1.5.5-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 21,320 kB
  • sloc: ansic: 10,053; perl: 1,493; makefile: 103; sh: 91
file content (109 lines) | stat: -rwxr-xr-x 4,376 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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#!/bin/sh
MANDIR=debian/mans
mkdir -p $MANDIR

VERSION=`dpkg-parsechangelog | awk '/^Version:/ {print $2}' | sed -e 's/^[0-9]*://' -e 's/-.*//' -e 's/[+~]dfsg$//'`
NAME=`grep "^Description:" debian/control | sed 's/^Description: *//' | head -n1`
PROGNAME=`grep "^Package:" debian/control | sed 's/^Package: *//' | head -n1`

AUTHOR=".SH AUTHOR\n \
This manpage was written by $DEBFULLNAME for the Debian distribution and\n \
can be used for any other usage of the program.\
"

# If program name is different from package name or title should be
# different from package short description change this here
progname=bed2bed_display
help2man --no-info --no-discard-stderr --help-option=" -h" \
         --name="Convert BED file to BED format suitable for displaying ChIP-seq peaks." \
            --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
echo $AUTHOR >> $MANDIR/${progname}.1

progname=bed2sga
help2man --no-info --no-discard-stderr --help-option=" -h" \
         --name="Convert BED format into SGA format." \
            --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
echo $AUTHOR >> $MANDIR/${progname}.1

# Provided upstream:
#  chipcenter
#  chipcor
#  chipextract
#  chippart
#  chippeak
#  chipscore

progname=compactsga
help2man --no-info --no-discard-stderr --help-option=" -h" \
         --name="reads a ChIP-seq data file and merges equal tag positions into a single line" \
            --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
echo $AUTHOR >> $MANDIR/${progname}.1

progname=countsga
help2man --no-info --no-discard-stderr --help-option=" -h" \
         --name="read a ChIP-seq data file and computes the total number of tag counts" \
            --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
echo $AUTHOR >> $MANDIR/${progname}.1

progname=featreplace
help2man --no-info --no-discard-stderr --help-option=" -h" \
         --name="read a ChIP-seq data file and changes the name of the feature field" \
            --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
echo $AUTHOR >> $MANDIR/${progname}.1

progname=filter_counts
help2man --no-info --no-discard-stderr --help-option=" -h" \
         --name="read a ChIP-seq data file and filters out all read counts" \
            --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
echo $AUTHOR >> $MANDIR/${progname}.1

progname=fps2sga.pl
help2man --no-info --no-discard-stderr --help-option=" -h" \
         --name="convert fps to sga" \
            --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
echo $AUTHOR >> $MANDIR/${progname}.1

progname=gff2sga.pl
help2man --no-info --no-discard-stderr --help-option=" -h" \
         --name="convert gff to sga" \
            --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
echo $AUTHOR >> $MANDIR/${progname}.1

progname=partit2bed.pl
help2man --no-info --no-discard-stderr --help-option=" -h" \
         --name="converts the output of the ChIP-Seq partitioning program to BED format" \
            --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
echo $AUTHOR >> $MANDIR/${progname}.1

progname=sga2bed
help2man --no-info --no-discard-stderr --help-option=" -h" \
         --name="Convert SGA format into BED format" \
            --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
echo $AUTHOR >> $MANDIR/${progname}.1

progname=sga2fps.pl
help2man --no-info --no-discard-stderr --help-option=" -h" \
         --name="Convert SGA format into FPS format" \
            --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
echo $AUTHOR >> $MANDIR/${progname}.1

progname=sga2gff.pl
help2man --no-info --no-discard-stderr --help-option=" -h" \
         --name="Convert SGA format into GFF format" \
            --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
echo $AUTHOR >> $MANDIR/${progname}.1

progname=sga2wig
help2man --no-info --no-discard-stderr --help-option=" -h" \
         --name="Convert SGA format into Wiggle Track format" \
            --version-string="$VERSION" ${progname} > $MANDIR/${progname}.1
echo $AUTHOR >> $MANDIR/${progname}.1

echo "*1.gz" > debian/${PROGNAME}.manpages
echo "$MANDIR/*.1" >> debian/${PROGNAME}.manpages

cat <<EOT
Please enhance the help2man output.
The following web page might be helpful in doing so:
    http://liw.fi/manpages/
EOT