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
fd33ecb7
Commit
fd33ecb7
authored
7 years ago
by
Venkat Malladi
Browse files
Options
Downloads
Patches
Plain Diff
Update trim command name.
parent
f3c034a7
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!5
Resolve "Add mapping and trimming"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflow/scripts/trim_reads.py
+5
-5
5 additions, 5 deletions
workflow/scripts/trim_reads.py
with
5 additions
and
5 deletions
workflow/scripts/trim_reads.py
+
5
−
5
View file @
fd33ecb7
...
...
@@ -67,16 +67,16 @@ def trim_reads(fastq, paired):
'''
Run trim_galore on 1 or 2 files.
'''
if
paired
:
# paired-end data
qc
_command
=
"
trim_galore --paired -q 25 --illumina --gzip --length 35
"
\
trim
_command
=
"
trim_galore --paired -q 25 --illumina --gzip --length 35
"
\
+
"
"
.
join
(
fastq
)
else
:
qc
_command
=
"
trim_galore -q 25 --illumina --gzip --length 35
"
\
trim
_command
=
"
trim_galore -q 25 --illumina --gzip --length 35
"
\
+
"
"
.
join
(
fastq
)
logger
.
info
(
"
Running trim_galore with %s
"
,
qc
_command
)
logger
.
info
(
"
Running trim_galore with %s
"
,
trim
_command
)
qual_fastq
=
subprocess
.
Popen
(
qc
_command
,
shell
=
True
)
out
,
err
=
qual_fastq
.
communicate
()
trim
=
subprocess
.
Popen
(
trim
_command
,
shell
=
True
)
out
,
err
=
trim
.
communicate
()
def
main
():
...
...
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