Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pharmAnnot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
gad-public
pharmAnnot
Commits
73b723bb
Commit
73b723bb
authored
Jun 27, 2019
by
Simon Verdez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ajout oncologie
parent
be49ef4b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
3 deletions
+16
-3
create_html.py
create_html.py
+3
-2
haplo_scan.sh
haplo_scan.sh
+1
-1
pharmconfig_epilepsie.tsv
pharmconfig_epilepsie.tsv
+6
-0
pharmconfig_oncologie.tsv
pharmconfig_oncologie.tsv
+6
-0
No files found.
create_html.py
View file @
73b723bb
...
@@ -125,7 +125,8 @@ for record in vcf_reader_SNP.fetch():
...
@@ -125,7 +125,8 @@ for record in vcf_reader_SNP.fetch():
try
:
try
:
for
i
in
range
(
len
(
record
.
info
[
"Pharmaco_Annot"
])
/
12
):
for
i
in
range
(
len
(
record
.
info
[
"Pharmaco_Annot"
])
/
12
):
try
:
try
:
gene
=
repr
(
record
.
info
[
"GENEINFO"
])
gen
=
repr
(
record
.
info
[
"GENEINFO"
])
gene
=
gen
[
1
:]
except
:
except
:
gene
=
"intron"
gene
=
"intron"
alt
=
record
.
info
[
"Pharmaco_Annot"
][(
i
*
12
)
+
1
]
.
replace
(
")"
,
""
)
.
replace
(
"'"
,
""
)
.
replace
(
"-"
,
""
)
alt
=
record
.
info
[
"Pharmaco_Annot"
][(
i
*
12
)
+
1
]
.
replace
(
")"
,
""
)
.
replace
(
"'"
,
""
)
.
replace
(
"-"
,
""
)
...
@@ -141,7 +142,7 @@ for record in vcf_reader_SNP.fetch():
...
@@ -141,7 +142,7 @@ for record in vcf_reader_SNP.fetch():
body
=
body
.
append
(
htmltag
.
P
(
htmltag
.
P2
(
"pathologie: "
+
patho
))
+
htmltag
.
P
(
htmltag
.
P2
(
"molecule: "
+
molecule
))
+
htmltag
.
P
(
htmltag
.
P2
(
"gene: "
+
gene
.
encode
(
'utf-8'
)))
+
htmltag
.
P
(
htmltag
.
P2
(
"variant: "
+
repr
(
record
.
pos
)
+
" "
+
repr
(
record
.
ref
)
+
">"
+
repr
(
record
.
alts
)
+
" "
+
repr
(
record
.
id
)))
+
htmltag
.
P
(
htmltag
.
P2
(
"base alternative: "
+
alt
))
+
htmltag
.
P
(
htmltag
.
P2
(
"niveau: "
+
level
))
+
htmltag
.
P
(
htmltag
.
P2
(
"phenotype: "
+
pheno
)))
body
=
body
.
append
(
htmltag
.
P
(
htmltag
.
P2
(
"pathologie: "
+
patho
))
+
htmltag
.
P
(
htmltag
.
P2
(
"molecule: "
+
molecule
))
+
htmltag
.
P
(
htmltag
.
P2
(
"gene: "
+
gene
.
encode
(
'utf-8'
)))
+
htmltag
.
P
(
htmltag
.
P2
(
"variant: "
+
repr
(
record
.
pos
)
+
" "
+
repr
(
record
.
ref
)
+
">"
+
repr
(
record
.
alts
)
+
" "
+
repr
(
record
.
id
)))
+
htmltag
.
P
(
htmltag
.
P2
(
"base alternative: "
+
alt
))
+
htmltag
.
P
(
htmltag
.
P2
(
"niveau: "
+
level
))
+
htmltag
.
P
(
htmltag
.
P2
(
"phenotype: "
+
pheno
)))
body
=
body
.
append
(
htmltag
.
P
(
htmltag
.
P2
(
htmltag
.
A
(
href
=
publi
)
.
append
(
"publication: "
+
publi
))))
body
=
body
.
append
(
htmltag
.
P
(
htmltag
.
P2
(
htmltag
.
A
(
href
=
publi
)
.
append
(
"publication: "
+
publi
))))
else
:
else
:
body
=
body
.
append
(
htmltag
.
P
(
"pathologie: "
+
patho
)
+
htmltag
.
P
(
"molecule: "
+
molecule
)
+
htmltag
.
P
(
"gene: "
+
gene
.
encode
(
'utf-8'
)
+
type
(
gene
)
)
+
htmltag
.
P
(
"variant: "
+
repr
(
record
.
pos
)
+
" "
+
repr
(
record
.
ref
)
+
">"
+
repr
(
record
.
alts
)
+
" "
+
repr
(
record
.
id
))
+
htmltag
.
P
(
"base alternative: "
+
alt
)
+
htmltag
.
P
(
"niveau: "
+
level
)
+
htmltag
.
P
(
htmltag
.
P
(
"phenotype: "
+
pheno
)))
body
=
body
.
append
(
htmltag
.
P
(
"pathologie: "
+
patho
)
+
htmltag
.
P
(
"molecule: "
+
molecule
)
+
htmltag
.
P
(
"gene: "
+
gene
.
encode
(
'utf-8'
))
+
htmltag
.
P
(
"variant: "
+
repr
(
record
.
pos
)
+
" "
+
repr
(
record
.
ref
)
+
">"
+
repr
(
record
.
alts
)
+
" "
+
repr
(
record
.
id
))
+
htmltag
.
P
(
"base alternative: "
+
alt
)
+
htmltag
.
P
(
"niveau: "
+
level
)
+
htmltag
.
P
(
htmltag
.
P
(
"phenotype: "
+
pheno
)))
body
=
body
.
append
(
htmltag
.
P
(
htmltag
.
A
(
href
=
publi
)
.
append
(
"publication: "
+
publi
)))
body
=
body
.
append
(
htmltag
.
P
(
htmltag
.
A
(
href
=
publi
)
.
append
(
"publication: "
+
publi
)))
body
=
body
.
append
(
htmltag
.
P
(
"#######################################################################"
))
body
=
body
.
append
(
htmltag
.
P
(
"#######################################################################"
))
except
:
except
:
...
...
haplo_scan.sh
View file @
73b723bb
...
@@ -69,7 +69,7 @@ RES=${SORTIE}
...
@@ -69,7 +69,7 @@ RES=${SORTIE}
GL
=
/work/gad/shared/bin/HLAscan_v1.0/hla-ref-5gene/gene_list
GL
=
/work/gad/shared/bin/HLAscan_v1.0/hla-ref-5gene/gene_list
#Launch haplo_scan
#Launch haplo_scan
/
work/gad/shared/bin/miniconda2/
bin/python2.7 /work/gad/shared/bin/HLAscan_v1.0/hla-paper/haplo_scan_v4.0-sv.py
$BAM
$GL
$RES
/bin/python2.7 /work/gad/shared/bin/HLAscan_v1.0/hla-paper/haplo_scan_v4.0-sv.py
$BAM
$GL
$RES
hla_exitcode
=
$?
hla_exitcode
=
$?
echo
"hla_scan exit code :
$hla_exitcode
"
echo
"hla_scan exit code :
$hla_exitcode
"
...
...
pharmconfig_epilepsie.tsv
0 → 100644
View file @
73b723bb
HLAlist /work/gad/shared/analyse/test_HLA/HLAscan_v1.0/hla-ref-5gene/gene_list
pharmagkbase /work/gad/sv347413/epilepsie/Pipeline/pharmgkb_v2.vcf
pharmagktab /work/gad/sv347413/epilepsie/Pipeline/tableau_pharmgkb.tsv
omim /work/gad/sv347413/epilepsie/Pipeline/tableau_OMIM.tsv
header /work/gad/sv347413/epilepsie/Pipeline/header_CNV.vcf
reference /work/gad/shared/pipeline/hg19/index/hg19_essential.fa
pharmconfig_oncologie.tsv
0 → 100644
View file @
73b723bb
HLAlist /work/gad/shared/analyse/test_HLA/HLAscan_v1.0/hla-ref-5gene/gene_list
pharmagkbase /work/gad/sv347413/epilepsie/Pipeline/pharmgkb_oncologie.vcf
pharmagktab /work/gad/sv347413/epilepsie/Pipeline/tableau_oncologie.tsv
omim /work/gad/sv347413/epilepsie/Pipeline/tableau_OMIM_oncologie.tsv
header /work/gad/sv347413/epilepsie/Pipeline/header_CNV.vcf
reference /work/gad/shared/pipeline/hg19/index/hg19_essential.fa
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