Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Transcript structure generator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
zavolan_group
tools
Transcript structure generator
Commits
fe7095af
Commit
fe7095af
authored
2 years ago
by
Michael Zimmermann
Browse files
Options
Downloads
Patches
Plain Diff
Corrections from Larissa
parent
c3d75851
No related branches found
No related tags found
1 merge request
!19
Minor changes in wording/spelling and added more Doc Strings
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tsg/main.py
+2
-2
2 additions, 2 deletions
tsg/main.py
with
2 additions
and
2 deletions
tsg/main.py
+
2
−
2
View file @
fe7095af
...
...
@@ -11,7 +11,7 @@ LOG = logging.getLogger(__name__)
def
read_abundances
(
transcripts_file
:
str
)
->
pd
.
DataFrame
:
"""
Read
file of abundance of transcripts
into dataframe.
"""
Read
transcript-abundance file
into dataframe.
Args:
transcripts_file (str): Input filename
...
...
@@ -32,7 +32,7 @@ def read_abundances(transcripts_file: str) -> pd.DataFrame:
def
filter_df
(
df
:
pd
.
DataFrame
,
transcripts
:
list
=
[])
->
pd
.
DataFrame
:
"""
Filter annotations to include only exons with the highest transcript support level, i.e.
(
TSL1
)
.
"""
Filter annotations to include only exons with the highest transcript support level, i.e. TSL1.
`feature` column is filtered on value
"
exon
"
and
`free_text` column is filtered to include the string denoting the highest transcript support level
...
...
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