Skip to content

Commit

Permalink
Merge pull request #415 from uclahs-cds/czhu-fix-docs
Browse files Browse the repository at this point in the history
Documentation fixed for encodeFasta, mergeFasta, decoyFasta and parseArriba
  • Loading branch information
zhuchcn authored Feb 25, 2022
2 parents 4a92e42 + 575282e commit 830cd37
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 2 deletions.
Binary file modified docs/img/graphic-abstract.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions docs/parse-arriba.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{% set command = 'parseArriba' %}
# {{ command }}

::: moPepGen.cli.parse_arriba
handler: python
selection:
members: false
rendering:
show_root_heading: false
show_source: false

{% include 'partials/_caution_on_reference_version.md' %}

## Usage

```
{{ get_arg_usage(command) }}
```

## Arguments

{% with actions=get_arg_data(command) %}
{% include 'partials/_command_usage.md' %}
{% endwith %}
6 changes: 5 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@
'parseREDItools': cli.add_subparser_parse_reditools,
'parseSTARFusion': cli.add_subparser_parse_star_fusion,
'parseFusionCatcher': cli.add_subparser_parse_fusion_catcher,
'parseArriba': cli.add_subparser_parse_arriba,
'parseRMATS': cli.add_subparser_parse_rmats,
'parseCIRCexplorer': cli.add_subparser_parse_circexplorer,
'callVariant': cli.add_subparser_call_variant,
'callNoncoding': cli.add_subparser_call_noncoding,
'filterFasta': cli.add_subparser_filter_fasta,
'splitDatabase': cli.add_subparser_split_fasta
'splitFasta': cli.add_subparser_split_fasta,
'mergeFasta': cli.add_subparser_merge_fasta,
'encodeFasta': cli.add_subparser_encode_fasta,
'decoyFasta': cli.add_subparser_decoy_fasta
}

def define_env(env):
Expand Down
6 changes: 5 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@ nav:
- parseREDItools: parse-reditools.md
- parseSTARFuion: parse-star-fusion.md
- parseFusionCatcher: parse-fusion-catcher.md
- parseArriba: parse-arriba.md
- parseRMATS: parse-rmats.md
- parseCIRCexplorer: parse-circexplorer.md
- callVariant: call-variant.md
- callNoncoding: call-noncoding.md
- filterFasta: filter-fasta.md
- splitDatabase: split-database.md
- splitFasta: split-fasta.md
- mergeFasta: merge-fasta.md
- encodeFasta: encode-fasta.md
- decoyFasta: decoy-fasta.md
theme: readthedocs
plugins:
- mkdocstrings:
Expand Down
1 change: 1 addition & 0 deletions moPepGen/cli/decoy_fasta.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def add_subparser_decoy_fasta(subparser:argparse._SubParsersAction):
common.add_args_quiet(parser)
common.print_help_if_missing_args(parser)
parser.set_defaults(func=decoy_fasta)
return parser

class _Summary():
""" Summary """
Expand Down

0 comments on commit 830cd37

Please sign in to comment.