Skip to content

Commit

Permalink
Merge pull request #33 from karel-brinda/how-to
Browse files Browse the repository at this point in the history
Automatically regenerate the how-to section
  • Loading branch information
Karel Břinda authored Nov 8, 2018
2 parents 2460c32 + 7478aa3 commit 8e7107b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ readme:
echo $$f;\
sed '/USAGE-BEGIN/q' README.md >> $$f; \
printf -- '-->\n```' >> $$f; \
./ococo -h 2>&1 | sed -n '/Usage/,$$ p' | perl -pe 's/^(.*)$$/\1/g' >> $$f; \
man ./ococo.1 | col -b | grep -A999999 SYNO | grep -B99999999 AUTH | ghead -n -1 >> $$f; \
printf '```\n<!---\n' >> $$f; \
sed -n '/USAGE-END/,$$ p' README.md >> $$f;\
cat $$f \
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,10 @@ conda install -c bioconda ococo

## How to use

<!---
USAGE-BEGIN
-->

```NAME
SYNOPSIS
ococo -i <SAM/BAM file> [other options]
Expand Down Expand Up @@ -133,6 +137,9 @@ DESCRIPTION
-M, --maj-thres FLOAT
Majority threshold [0.51].
```
<!---
USAGE-END
-->


## Issues
Expand Down

0 comments on commit 8e7107b

Please sign in to comment.