Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scRNA-seq-simulation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
zavolan_group
pipelines
scRNA-seq-simulation
Merge requests
!16
Issue_4
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Issue_4
Issue_4
into
main
Overview
19
Commits
25
Pipelines
23
Changes
8
Closed
Melvin Alappat
requested to merge
Issue_4
into
main
3 years ago
Overview
15
Commits
25
Pipelines
23
Changes
8
Expand
Adding the code for Issue_4 as well as the nextflow workflow
0
0
Merge request reports
Compare
main
version 22
0329e263
3 years ago
version 21
ec7f686c
3 years ago
version 20
abb1e512
3 years ago
version 19
4c591824
3 years ago
version 18
81e851d5
3 years ago
version 17
6171438b
3 years ago
version 16
d149f7d9
3 years ago
version 15
18926491
3 years ago
version 14
2e371c17
3 years ago
version 13
0c46921b
3 years ago
version 12
e3650eab
3 years ago
version 11
ab36e23a
3 years ago
version 10
6907a807
3 years ago
version 9
b4cd2abb
3 years ago
version 8
abf6458e
3 years ago
version 7
7ae6757a
3 years ago
version 6
131062fe
3 years ago
version 5
8c2b856e
3 years ago
version 4
56a52990
3 years ago
version 3
75735c39
3 years ago
version 2
c154c55a
3 years ago
version 1
9ca598fb
3 years ago
main (base)
and
version 8
latest version
d5ac4ae7
25 commits,
3 years ago
version 22
0329e263
24 commits,
3 years ago
version 21
ec7f686c
22 commits,
3 years ago
version 20
abb1e512
21 commits,
3 years ago
version 19
4c591824
20 commits,
3 years ago
version 18
81e851d5
19 commits,
3 years ago
version 17
6171438b
18 commits,
3 years ago
version 16
d149f7d9
17 commits,
3 years ago
version 15
18926491
16 commits,
3 years ago
version 14
2e371c17
15 commits,
3 years ago
version 13
0c46921b
14 commits,
3 years ago
version 12
e3650eab
13 commits,
3 years ago
version 11
ab36e23a
12 commits,
3 years ago
version 10
6907a807
11 commits,
3 years ago
version 9
b4cd2abb
10 commits,
3 years ago
version 8
abf6458e
9 commits,
3 years ago
version 7
7ae6757a
8 commits,
3 years ago
version 6
131062fe
7 commits,
3 years ago
version 5
8c2b856e
6 commits,
3 years ago
version 4
56a52990
5 commits,
3 years ago
version 3
75735c39
4 commits,
3 years ago
version 2
c154c55a
3 commits,
3 years ago
version 1
9ca598fb
2 commits,
3 years ago
8 files
+
431
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
Search (e.g. *.vue) (Ctrl+P)
src/primingprob/cli_priming_prob.py
0 → 100644
+
63
−
0
Options
"""
Command-line interface client.
"""
import
argparse
import
os
from
pathlib
import
Path
import
sys
from
src.primingprob.priming_prob
import
Probability
as
Pbt
def
parse_args
():
"""
Parse CLI arguments.
Returns:
Parsed CLI arguments.
"""
parser
=
argparse
.
ArgumentParser
(
description
=
"
RIblast input
"
,
add_help
=
False
,
formatter_class
=
argparse
.
ArgumentDefaultsHelpFormatter
,
)
parser
.
add_argument
(
'
input_file
'
,
type
=
lambda
p
:
Path
(
p
).
absolute
(),
metavar
=
"
PATH
"
,
help
=
"
path to energy-file
"
,
)
parser
.
add_argument
(
'
fasta_file
'
,
type
=
lambda
p
:
Path
(
p
).
absolute
(),
metavar
=
"
PATH
"
,
help
=
"
path to fasta-file
"
,
)
parser
.
add_argument
(
'
output_file
'
,
type
=
lambda
p
:
Path
(
p
).
absolute
(),
metavar
=
"
PATH
"
,
help
=
"
path to output-file
"
,
)
return
parser
.
parse_args
()
def
main
():
"""
Start priming_prob.py.
"""
args
=
parse_args
()
if
os
.
path
.
exists
(
args
.
input_file
)
and
os
.
path
.
exists
(
args
.
fasta_file
):
# pragma: no cover
paradata
=
Pbt
.
inter_para
(
args
.
input_file
)
Pbt
.
inter_prob
(
paradata
,
args
.
fasta_file
,
args
.
output_file
)
if
not
os
.
path
.
exists
(
args
.
input_file
)
and
os
.
path
.
exists
(
args
.
fasta_file
):
# pragma: no cover
sys
.
exit
(
"
Path to input-file does not exist
"
)
def
init
():
"""
Entry point for CLI executable.
"""
if
__name__
==
'
__main__
'
:
main
()
init
()
Loading