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
79aedba9
Commit
79aedba9
authored
3 years ago
by
Simon Verdez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
maintien
parent
73b723bb
master
public
No related merge requests found
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
23 deletions
+11
-23
Master.sh
Master.sh
+6
-6
haplo_scan.sh
haplo_scan.sh
+0
-8
pharmconfig.tsv
pharmconfig.tsv
+0
-6
pharmconfig_epilepsie.tsv
pharmconfig_epilepsie.tsv
+1
-0
pharmconfig_oncologie.tsv
pharmconfig_oncologie.tsv
+4
-3
No files found.
Master.sh
View file @
79aedba9
...
...
@@ -52,7 +52,7 @@ fi
#Usefull variables
PIPELINEBASE
=
`
grep
pipelinebase
$CONFIGFILE
|
cut
-f2
`
PIPELINEBASE
=
`
grep
"pipelinebase"
$PHARMCONFIG
|
cut
-f2
`
TSVFILE
=
`
grep
"pharmagktab"
$PHARMCONFIG
|
cut
-f2
`
PHARMGKB
=
`
grep
"pharmagkbase"
$PHARMCONFIG
|
cut
-f2
`
OMIM
=
`
grep
"omim"
$PHARMCONFIG
|
cut
-f2
`
...
...
@@ -81,7 +81,7 @@ echo "Start : $(date +"%F_%H-%M-%S")"
for
currentSample
in
$samples
do
echo
"Command : qsub -pe smp 1 -N HLAscan_
${
currentSample
}
-o
$ANALYSISDIR
/
$currentSample
/logs/ -e
$ANALYSISDIR
/
$currentSample
/logs/ -v INPUTFILE=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.dedup.bam,OUTPUTFILE=
$ANALYSISDIR
/
$currentSample
/HLAscan,GeneList=
$GL
,LOGFILE=
$ANALYSISDIR
/
$currentSample
/logs/process_HLAscan.
$logbasename
.log,CONFIGFILE=
$CONFIGFILE
$PIPELINEBASE
/haplo_scan.sh"
qsub
-pe
smp 1
-N
HLAscan_
${
currentSample
}
-o
$ANALYSISDIR
/
$currentSample
/logs/
-e
$ANALYSISDIR
/
$currentSample
/logs/
-v
BAM
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.dedup.bam,SORTIE
=
$ANALYSISDIR
/
$currentSample
/HLAscan,GeneList
=
$GL
,LOGFILE
=
$ANALYSISDIR
/
$currentSample
/logs/process_HLAscan.
$logbasename
.log,CONFIGFILE
=
$CONFIGFILE
$PIPELINEBASE
/haplo_scan.sh
# qsub -q batch
-pe smp 1 -N HLAscan_${currentSample} -o $ANALYSISDIR/$currentSample/logs/ -e $ANALYSISDIR/$currentSample/logs/ -v BAM=$ANALYSISDIR/$currentSample/$currentSample.dedup.bam,SORTIE=$ANALYSISDIR/$currentSample/HLAscan,GeneList=$GL,LOGFILE=$ANALYSISDIR/$currentSample/logs/process_HLAscan.$logbasename.log,CONFIGFILE=$CONFIGFILE $PIPELINEBASE/haplo_scan.sh
done
echo
"End :
$(
date
+
"%F_%H-%M-%S"
)
"
...
...
@@ -92,7 +92,7 @@ echo "Start : $(date +"%F_%H-%M-%S")"
for
currentSample
in
$samples
do
echo
"Command : qsub -pe smp 1 -o
$ANALYSISDIR
/
$currentSample
/logs/ -e
$ANALYSISDIR
/
$currentSample
/logs/ -N varcallSNP_
${
currentSample
}
-v INPUTFILE=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.raw.vcf,PHARMGKB=
$PHARMGKB
,OUTPUTFILE=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.pharmacoAnnot.SNP.vcf,LOGFILE=
$ANALYSISDIR
/
$currentSample
/logs/process_varcallSNP.
$logbasename
.log,CONFIGFILE=
$CONFIGFILE
$PIPELINEBASE
/annotate_variants_pharmAnnot.sh"
qsub
-pe
smp 1
-N
varcallSNP_
${
currentSample
}
-o
$ANALYSISDIR
/
$currentSample
/logs/
-e
$ANALYSISDIR
/
$currentSample
/logs/
-v
INPUTFILE
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.raw.vcf,PHARMGKB
=
$PHARMGKB
,OUTPUTFILE
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.pharmacoAnnot.SNP.vcf,LOGFILE
=
$ANALYSISDIR
/
$currentSample
/logs/process_varcallSNP.
$logbasename
.log,CONFIGFILE
=
$CONFIGFILE
$PIPELINEBASE
/annotate_variants_pharmAnnot.sh
qsub
-
q
batch
-
pe
smp 1
-N
varcallSNP_
${
currentSample
}
-o
$ANALYSISDIR
/
$currentSample
/logs/
-e
$ANALYSISDIR
/
$currentSample
/logs/
-v
INPUTFILE
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.raw.vcf,PHARMGKB
=
$PHARMGKB
,OUTPUTFILE
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.pharmacoAnnot.SNP.vcf,LOGFILE
=
$ANALYSISDIR
/
$currentSample
/logs/process_varcallSNP.
$logbasename
.log,CONFIGFILE
=
$CONFIGFILE
$PIPELINEBASE
/annotate_variants_pharmAnnot.sh
done
echo
"End :
$(
date
+
"%F_%H-%M-%S"
)
"
...
...
@@ -104,7 +104,7 @@ for currentSample in $samples
do
cnvfile
=
`
ls
-lht
$ANALYSISDIR
/
$currentSample
/ |
grep
"
\.
annot.tsv"
|
head
-1
|
awk
'{print $9}'
`
echo
"Command : qsub -pe smp 1 -N varcallCNV_
${
currentSample
}
-o
$ANALYSISDIR
/
$currentSample
/logs/ -e
$ANALYSISDIR
/
$currentSample
/logs/ -v INPUTFILE=
$ANALYSISDIR
/
$currentSample
/
$cnvfile
,PHARMGKB=
$TSVFILE
,OMIM=
$OMIM
,OUTPUTFILE=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.CNV.vcf,LOGFILE=
$ANALYSISDIR
/
$currentSample
/logs/process_varcallCNV.
$logbasename
.log,CONFIGFILE=
$CONFIGFILE
$PIPELINEBASE
/wrapper_tsv2vcf.sh"
qsub
-pe
smp 1
-N
tsv2vcf_
${
currentSample
}
-o
$ANALYSISDIR
/
$currentSample
/logs/
-e
$ANALYSISDIR
/
$currentSample
/logs/
-v
INPUTFILE
=
$ANALYSISDIR
/
$currentSample
/
$cnvfile
,PHARMGKB
=
$TSVFILE
,OMIM
=
$OMIM
,REF
=
$REF
,OUTPUTFILE
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.CNV.vcf,LOGFILE
=
$ANALYSISDIR
/
$currentSample
/logs/process_varcallCNV.
$logbasenameCNV
.log,CONFIGFILE
=
$CONFIGFILE
$PIPELINEBASE
/wrapper_tsv2vcf.sh
qsub
-
q
batch
-
pe
smp 1
-N
tsv2vcf_
${
currentSample
}
-o
$ANALYSISDIR
/
$currentSample
/logs/
-e
$ANALYSISDIR
/
$currentSample
/logs/
-v
INPUTFILE
=
$ANALYSISDIR
/
$currentSample
/
$cnvfile
,PHARMGKB
=
$TSVFILE
,OMIM
=
$OMIM
,REF
=
$REF
,OUTPUTFILE
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.CNV.vcf,LOGFILE
=
$ANALYSISDIR
/
$currentSample
/logs/process_varcallCNV.
$logbasenameCNV
.log,CONFIGFILE
=
$CONFIGFILE
$PIPELINEBASE
/wrapper_tsv2vcf.sh
done
echo
"End :
$(
date
+
"%F_%H-%M-%S"
)
"
...
...
@@ -115,7 +115,7 @@ echo "Start : $(date +"%F_%H-%M-%S")"
for
currentSample
in
$samples
do
echo
"Command : qsub -pe smp 1 -hold_jid varcallCNV_
${
currentSample
}
,varcallSNP_
${
currentSample
}
,HLAscan_
${
currentSample
}
-N createHTML_
${
currentSample
}
-o
$ANALYSISDIR
/
$currentSample
/logs/ -e
$ANALYSISDIR
/
$currentSample
/logs/ -v VCF_SNP=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.pharmacoAnnot.SNP.vcf,VCF_CNV=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.CNV.vcf,REPORTFILE=
$ANALYSISDIR
/
$currentSample
/HLAscan/Report,BAMFILE=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.dedup.bam,TSVFILE=
$TSVFILE
,OUTPUTFILE=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.html,LOGFILE=
$ANALYSISDIR
/
$currentSample
/logs/create_html.
$logbasename
.log,CONFIGFILE=
$CONFIGFILE
$PIPELINEBASE
/wrapper_create_html.sh"
qsub
-pe
smp 1
-hold_jid
varcallCNV_
${
currentSample
}
,varcallSNP_
${
currentSample
}
,HLAscan_
${
currentSample
}
-N
createHTML_
${
currentSample
}
-o
$ANALYSISDIR
/
$currentSample
/logs/
-e
$ANALYSISDIR
/
$currentSample
/logs/
-v
VCF_SNP
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.pharmacoAnnot.SNP.vcf,VCF_CNV
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.CNV.vcf,REPORTFILE
=
$ANALYSISDIR
/
$currentSample
/HLAscan/Report,BAMFILE
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.dedup.bam,TSVFILE
=
$TSVFILE
,OUTPUTFILE
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.html,LOGFILE
=
$ANALYSISDIR
/
$currentSample
/logs/create_html.
$logbasename
.log,CONFIGFILE
=
$CONFIGFILE
$PIPELINEBASE
/wrapper_create_html.sh
qsub
-
q
batch
-
pe
smp 1
-hold_jid
varcallCNV_
${
currentSample
}
,varcallSNP_
${
currentSample
}
,HLAscan_
${
currentSample
}
-N
createHTML_
${
currentSample
}
-o
$ANALYSISDIR
/
$currentSample
/logs/
-e
$ANALYSISDIR
/
$currentSample
/logs/
-v
VCF_SNP
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.pharmacoAnnot.SNP.vcf,VCF_CNV
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.CNV.vcf,REPORTFILE
=
$ANALYSISDIR
/
$currentSample
/HLAscan/Report,BAMFILE
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.dedup.bam,TSVFILE
=
$TSVFILE
,OUTPUTFILE
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.html,LOGFILE
=
$ANALYSISDIR
/
$currentSample
/logs/create_html.
$logbasename
.log,CONFIGFILE
=
$CONFIGFILE
$PIPELINEBASE
/wrapper_create_html.sh
done
echo
"End :
$(
date
+
"%F_%H-%M-%S"
)
"
...
...
@@ -126,6 +126,6 @@ echo "Start : $(date +"%F_%H-%M-%S")"
for
currentSample
in
$samples
do
echo
"Command : qsub -pe smp 1 -hold_jid varcallCNV_
${
currentSample
}
,varcallSNP_
${
currentSample
}
-N mergeVCF_
${
currentSample
}
-o
$ANALYSISDIR
/
$currentSample
/logs/ -e
$ANALYSISDIR
/
$currentSample
/logs/ -v INPUTFILE1=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.CNV.vcf,INPUTFILE2=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.pharmacoAnnot.SNP.vcf,REF=
$REF
,OUTPUTFILE=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.pharmacoAnnot.merge.vcf,LOGFILE=
$ANALYSISDIR
/
$currentSample
/logs/merge_file.
$logbasename
.log,CONFIGFILE=
$CONFIGFILE
$PIPELINEBASE
/merge_GATK.sh"
qsub
-pe
smp 1
-hold_jid
varcallCNV_
${
currentSample
}
,varcallSNP_
${
currentSample
}
-N
mergeVCF_
${
currentSample
}
-o
$ANALYSISDIR
/
$currentSample
/logs/
-e
$ANALYSISDIR
/
$currentSample
/logs/
-v
INPUTFILE1
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.CNV.vcf,INPUTFILE2
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.pharmacoAnnot.SNP.vcf,REF
=
$REF
,OUTPUTFILE
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.pharmacoAnnot.merge.vcf,LOGFILE
=
$ANALYSISDIR
/
$currentSample
/logs/merge_file.
$logbasename
.log,CONFIGFILE
=
$CONFIGFILE
$PIPELINEBASE
/merge_GATK.sh
qsub
-
q
batch
-
pe
smp 1
-hold_jid
varcallCNV_
${
currentSample
}
,varcallSNP_
${
currentSample
}
-N
mergeVCF_
${
currentSample
}
-o
$ANALYSISDIR
/
$currentSample
/logs/
-e
$ANALYSISDIR
/
$currentSample
/logs/
-v
INPUTFILE1
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.CNV.vcf,INPUTFILE2
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.pharmacoAnnot.SNP.vcf,REF
=
$REF
,OUTPUTFILE
=
$ANALYSISDIR
/
$currentSample
/
$currentSample
.pharmacoAnnot.merge.vcf,LOGFILE
=
$ANALYSISDIR
/
$currentSample
/logs/merge_file.
$logbasename
.log,CONFIGFILE
=
$CONFIGFILE
$PIPELINEBASE
/merge_GATK.sh
done
echo
"End :
$(
date
+
"%F_%H-%M-%S"
)
"
This diff is collapsed.
Click to expand it.
haplo_scan.sh
View file @
79aedba9
...
...
@@ -46,14 +46,6 @@ then
exit
1
fi
# Check if config file exist
if
[
!
-f
$CONFIGFILE
]
then
echo
"Config file does not exist"
echo
"
$(
date
+
"%F_%H-%M-%S"
)
: END"
touch
annotate_variants_snpeff.failed
exit
1
fi
# Check if output file is specified
if
[
-z
$SORTIE
]
...
...
This diff is collapsed.
Click to expand it.
pharmconfig.tsv
deleted
100644 → 0
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
This diff is collapsed.
Click to expand it.
pharmconfig_epilepsie.tsv
View file @
79aedba9
pipelinebase /work/gad/shared/pipeline/pharmacogen_test/pharmAnnot
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
...
...
This diff is collapsed.
Click to expand it.
pharmconfig_oncologie.tsv
View file @
79aedba9
pipelinebase /work/gad/shared/pipeline/pharmacogen_test/pharmAnnot
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/Pipelin
e/tableau_OMIM_oncologie.tsv
pharmagkbase /work/gad/sv347413/
oncologie/pharmgkb_oncologie_v4
.vcf
pharmagktab /work/gad/sv347413/
oncologie/tableau_oncologie_v2
.tsv
omim /work/gad/sv347413/
oncologi
e/tableau_OMIM_oncologie.tsv
header /work/gad/sv347413/epilepsie/Pipeline/header_CNV.vcf
reference /work/gad/shared/pipeline/hg19/index/hg19_essential.fa
This diff is collapsed.
Click to expand it.
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