Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PRESCOTT
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mustafa Tekpinar
PRESCOTT
Commits
09e6079f
Commit
09e6079f
authored
Nov 17, 2023
by
Mustafa Tekpinar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some changes in prescott module detailed csv file output.
parent
f8504279
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
.gitignore
.gitignore
+3
-3
example-prescott-script.sh
examples/example-prescott-script.sh
+2
-2
prescott.py
prescott/prescott.py
+6
-1
No files found.
.gitignore
View file @
09e6079f
...
...
@@ -2,8 +2,7 @@
._*
.Rhistory
example/.RData
gemmeAnal.pyc
__pycache__/*
esgemme
/__pycache__/
esgemme
.egg-info/*
prescott
/__pycache__/
prescott
.egg-info/*
.RData
\ No newline at end of file
examples/example-prescott-script.sh
View file @
09e6079f
#!/bin/bash
#If you have gnomad data from GnomAD version 2.1.1 or version 3.1.2
#
prescott -e ../data/MLH1_normPred_evolCombi.txt -g ../data/gnomAD_v2.1.1_MLH1_HUMAN_ENSG00000076242.csv -s ../data/MLH1.fasta --gnomadversion 2
prescott
-e
../data/MLH1_normPred_evolCombi.txt
-g
../data/gnomAD_v2.1.1_MLH1_HUMAN_ENSG00000076242.csv
-s
../data/MLH1.fasta
--gnomadversion
2
#If you are using GnomAD v4.0.0 data.
prescott
-e
../data/MLH1_normPred_evolCombi.txt
-g
../data/gnomAD_v4.0.0_MLH1_HUMAN_ENSG00000076242.csv
-s
../data/MLH1.fasta
--gnomadversion
4
prescott
-e
../data/MLH1_normPred_evolCombi.txt
-g
../data/gnomAD_v4.0.0_MLH1_HUMAN_ENSG00000076242.csv
-s
../data/MLH1.fasta
prescott/prescott.py
View file @
09e6079f
...
...
@@ -883,8 +883,13 @@ def main():
plt
.
close
()
print
(
"@> AUC= {:.3f} {:.3f}"
.
format
(
AUC_ESCOTT
,
AUC_PRESCOTT
))
# Renaming the column just to make clear that the frequency column in the csv
# is actually log10 frequencies. Normally, one can deduce it from the values as well
# but it is always better to be clear.
myBigMergedDF
=
myBigMergedDF
.
rename
(
columns
=
{
'frequency'
:
'log10frequency'
})
myBigMergedDF
.
to_csv
(
outfile
+
'-details.csv'
,
index
=
None
)
# myBigMergedDF.to_csv(outfile+'.txt', columns=['mutant', 'PRESCOTT'], index=False, header=None, sep=' ')
with
open
(
outfile
+
'.csv'
,
'w'
)
as
my_file
:
my_file
.
write
(
","
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment