Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
chipseq_analysis
Manage
Activity
Members
Labels
Plan
Issues
19
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
BICF
Astrocyte
chipseq_analysis
Commits
4aa91a5c
There was a problem fetching the pipeline stages.
Commit
4aa91a5c
authored
6 years ago
by
Venkat Malladi
Browse files
Options
Downloads
Patches
Plain Diff
Update file name output.
parent
ba769bcc
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!20
Resolve "Use SampleIds/ Experiment Id as file names throughtout pipeline"
Pipeline
#2827
failed with stages
in 15 hours, 31 minutes, and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflow/scripts/motif_search.py
+6
-1
6 additions, 1 deletion
workflow/scripts/motif_search.py
with
6 additions
and
1 deletion
workflow/scripts/motif_search.py
+
6
−
1
View file @
4aa91a5c
...
...
@@ -84,13 +84,18 @@ def motif_search(filename, genome, experiment, peak):
file_basename
=
os
.
path
.
basename
(
utils
.
strip_extensions
(
filename
,
STRIP_EXTENSIONS
))
sorted_fn
=
'
%s.%d.narrowPeak
'
%
(
file_basename
,
peak
)
out_fa
=
'
%s.fa
'
%
(
experiment
)
out_motif
=
'
%s_memechip
'
%
(
experiment
)
# Sort Bed file and limit number of peaks
if
peak
==
-
1
:
peak
=
utils
.
count_lines
(
filename
)
peak_no
=
'
all
'
else
:
peak_no
=
peak
sorted_fn
=
'
%s.%s.narrowPeak
'
%
(
file_basename
,
peak
)
out
,
err
=
utils
.
run_pipe
([
'
sort -k %dgr,%dgr %s
'
%
(
5
,
5
,
filename
),
...
...
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