Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
plotting_scripts
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Blaise LI
plotting_scripts
Commits
bf22a459
Project 'bia/apache-commons-lang' was moved to 'bia/icy/extensions/apache-commons-lang'. Please update any links and bookmarks that may still have the old path.
Commit
bf22a459
authored
4 years ago
by
Blaise Li
Browse files
Options
Downloads
Patches
Plain Diff
Use safe_load for yaml files.
parent
3563eda5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/create_metagene_profile.py
+3
-3
3 additions, 3 deletions
scripts/create_metagene_profile.py
with
3 additions
and
3 deletions
scripts/create_metagene_profile.py
+
3
−
3
View file @
bf22a459
...
...
@@ -77,7 +77,7 @@ from tempfile import NamedTemporaryFile
from
collections
import
defaultdict
# from itertools import chain
from
sqlite3
import
OperationalError
from
yaml
import
load
as
yload
from
yaml
import
safe_
load
as
yload
# https://pythonhosted.org/gffutils/
from
gffutils
import
FeatureDB
,
create_db
# from deeptools import heatmapper
...
...
@@ -254,7 +254,7 @@ PARAMETER_INFO = "\n".join(DEFAULT_PARAMETERS.keys())
# **extra_parameters):
# """Combine information from bigwig files *bigwig_filenames* and bed file
# *bed_filename*.
#
#
# If *plot_filename* is set, write the corresponding meta profile
# in this file.
# """
...
...
@@ -279,7 +279,7 @@ PARAMETER_INFO = "\n".join(DEFAULT_PARAMETERS.keys())
# val = [None] * nb_samples
# hm_params[key] = val
# heatm.parameters = hm_params
#
#
# if plot_filename is not None:
# print(f"plotting profile to {plot_filename}")
# prof_params = keyfilter(is_prof_param, parameters)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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