Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TReNCo
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Software
TReNCo
Commits
32ab989d
Commit
32ab989d
authored
5 years ago
by
Chris Bennett
Browse files
Options
Downloads
Patches
Plain Diff
Patch waiting problem with gunzip on line 91 of trenco_core
parent
6e060bf1
1 merge request
!1
Trenco devel
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
trenco2.py
+2
-2
2 additions, 2 deletions
trenco2.py
trenco_modules/trenco_core.py
+3
-1
3 additions, 1 deletion
trenco_modules/trenco_core.py
trenco_tools/get_encode_data.py
+5
-1
5 additions, 1 deletion
trenco_tools/get_encode_data.py
with
10 additions
and
4 deletions
trenco2.py
+
2
−
2
View file @
32ab989d
...
...
@@ -3,8 +3,8 @@
#
# Wraper script for running all of trenco
import
sys
,
os
,
subprocess
,
re
import
glob
,
logging
import
os
,
json
import
logging
import
multiprocessing
as
mp
import
trenco_modules.trenco_args
as
targs
import
trenco_modules.trenco_core
as
tcore
...
...
This diff is collapsed.
Click to expand it.
trenco_modules/trenco_core.py
+
3
−
1
View file @
32ab989d
...
...
@@ -5,7 +5,7 @@ Trenco Modules for running scripts
"""
import
sys
,
os
,
glob
,
subprocess
import
logging
import
logging
,
time
import
shlex
import
pandas
as
pd
import
numpy
as
np
...
...
@@ -94,6 +94,8 @@ def process_tss(version, organism, biotypes, fname, logger):
#os.system(cmd) # the code needs to wait at this point
subprocess
.
check_call
(
cmd
,
shell
=
True
)
time
.
sleep
(
30
)
# this is a temporary fix to make sure the gunzip works and has time
if
annotations
.
endswith
(
'
.gtf
'
):
tail
=
'
.gtf
'
else
:
...
...
This diff is collapsed.
Click to expand it.
trenco_tools/get_encode_data.py
+
5
−
1
View file @
32ab989d
...
...
@@ -205,7 +205,11 @@ def get_df(df, assay_target, biosample_types, filter_age, output_type, file_type
if
assay_target
==
'
RNA-seq
'
:
target
=
assay
elif
assay
==
'
ChIP-seq
'
:
target
=
r
[
1
][
'
Experiment target
'
].
split
(
'
-
'
)[
0
]
try
:
target
=
r
[
1
][
'
Experiment target
'
].
split
(
'
-
'
)[
0
]
except
:
continue
pass
else
:
continue
...
...
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