Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MeRIPSeq
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hub
MeRIPSeq
Commits
52c03560
Commit
52c03560
authored
6 years ago
by
Christophe BECAVIN
Browse files
Options
Downloads
Patches
Plain Diff
move find_peak_center to find_peak_max
parent
adda2a09
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/bash_slurm/RunSearchMax.sh
+1
-1
1 addition, 1 deletion
src/bash_slurm/RunSearchMax.sh
src/python/find_peak_max.py
+4
-2
4 additions, 2 deletions
src/python/find_peak_max.py
with
5 additions
and
3 deletions
src/bash_slurm/RunSearchMax.sh
+
1
−
1
View file @
52c03560
...
...
@@ -29,7 +29,7 @@ scriptSH="""
#!/bin/bash -l
source activate py27
echo SearchMax
$peak_technique
peak detection for
$project_name
python
$scriptFolder
/src/python/find_peak_
center
.py -p
$folder
-e
$project_name
-t
$peak_technique
-s
$size
-g
$genome_file
-b
$bed_name
python
$scriptFolder
/src/python/find_peak_
max
.py -p
$folder
-e
$project_name
-t
$peak_technique
-s
$size
-g
$genome_file
-b
$bed_name
echo End SearchMax for
$peak_technique
"""
...
...
This diff is collapsed.
Click to expand it.
src/python/find_peak_
center
.py
→
src/python/find_peak_
max
.py
+
4
−
2
View file @
52c03560
...
...
@@ -5,6 +5,8 @@ from Bio import SeqIO
def
find_peak_max
(
path
,
exp_design_name
,
size
,
mouse_seq
,
peak_technique
,
bed_name
):
final_bed_name
=
'
MaxValues
'
if
bed_name
==
'
Raw
'
:
final_bed_name
=
'
MaxValues
'
if
bed_name
==
'
MaxValues
'
:
final_bed_name
=
'
MaxMaxValues
'
print
(
final_bed_name
)
...
...
@@ -106,12 +108,12 @@ def main(argv):
try
:
opts
,
args
=
getopt
.
getopt
(
argv
,
"
hp:e:t:s:g:b:
"
,
[
"
path=
"
,
"
expdesign=
"
,
"
peak_technique=
"
,
"
size=
"
,
"
genome=
"
,
"
bed_name
"
])
except
getopt
.
GetoptError
:
print
(
'
Cannot run command - Help: find_peak_
center
.py -p <path> -e <expdesign> -t <peak_technique>
'
print
(
'
Cannot run command - Help: find_peak_
max
.py -p <path> -e <expdesign> -t <peak_technique>
'
'
-s <size> -g <genome> -b <bed_name>
'
)
sys
.
exit
(
2
)
for
opt
,
arg
in
opts
:
if
opt
==
'
-h
'
:
print
(
'
find_peak_
center
.py -p <path> -e <expdesign> -t <peak_technique> -s <size> -g <genome> -b <bed_name>
'
)
print
(
'
find_peak_
max
.py -p <path> -e <expdesign> -t <peak_technique> -s <size> -g <genome> -b <bed_name>
'
)
sys
.
exit
()
elif
opt
in
(
"
-p
"
,
"
--path
"
):
path
=
arg
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment