Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
process_scripts
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
NGS CLIA Lab
process_scripts
Commits
a0bd27af
Commit
a0bd27af
authored
6 years ago
by
Brandi Cantarel
Browse files
Options
Downloads
Patches
Plain Diff
mutect to gatk3.8
parent
60f7ac36
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
variants/somatic_callers.sh
+1
-1
1 addition, 1 deletion
variants/somatic_callers.sh
variants/somatic_vc.sh
+6
-6
6 additions, 6 deletions
variants/somatic_vc.sh
with
7 additions
and
7 deletions
variants/somatic_callers.sh
+
1
−
1
View file @
a0bd27af
...
@@ -75,7 +75,7 @@ fi
...
@@ -75,7 +75,7 @@ fi
if
[
$algo
==
'mutect'
]
if
[
$algo
==
'mutect'
]
then
then
module load parallel python/2.7.x-anaconda gatk/3.
5
bcftools/intel/1.3 bedtools/2.25.0 snpeff/4.2 vcftools/0.1.14
module load parallel python/2.7.x-anaconda gatk/3.
8
bcftools/intel/1.3 bedtools/2.25.0 snpeff/4.2 vcftools/0.1.14
cut
-f
1 /project/shared/bicf_workflow_ref/GRCh38/genomefile.5M.txt | parallel
--delay
2
-j
10
"java -Xmx20g -jar
$GATK_JAR
-R
${
genome_reference
}
-D
${
dbSnp_reference
}
-T MuTect2 -stand_call_conf 30 -stand_emit_conf 10.0 -A FisherStrand -A QualByDepth -A VariantType -A DepthPerAlleleBySample -A HaplotypeScore -A AlleleBalance -I:tumor
${
tumor
}
.final.bam -I:normal
${
normal
}
.final.bam --cosmic
${
cosmic
}
-o
${
tumor
}
.{}.mutect.vcf -L {}"
cut
-f
1 /project/shared/bicf_workflow_ref/GRCh38/genomefile.5M.txt | parallel
--delay
2
-j
10
"java -Xmx20g -jar
$GATK_JAR
-R
${
genome_reference
}
-D
${
dbSnp_reference
}
-T MuTect2 -stand_call_conf 30 -stand_emit_conf 10.0 -A FisherStrand -A QualByDepth -A VariantType -A DepthPerAlleleBySample -A HaplotypeScore -A AlleleBalance -I:tumor
${
tumor
}
.final.bam -I:normal
${
normal
}
.final.bam --cosmic
${
cosmic
}
-o
${
tumor
}
.{}.mutect.vcf -L {}"
vcf-concat
${
tumor
}*
.vcf | vcf-sort | vcf-annotate
-n
--fill-type
| java
-jar
$SNPEFF_HOME
/SnpSift.jar filter
-p
'((FS <= 60) & GEN[*].DP >= 10)'
| perl
-pe
's/TUMOR/'
${
tumor
}
'/'
| perl
-pe
's/NORMAL/'
${
normal
}
'/g'
|bgzip
>
${
tumor
}
_
${
normal
}
.mutect.vcf.gz
vcf-concat
${
tumor
}*
.vcf | vcf-sort | vcf-annotate
-n
--fill-type
| java
-jar
$SNPEFF_HOME
/SnpSift.jar filter
-p
'((FS <= 60) & GEN[*].DP >= 10)'
| perl
-pe
's/TUMOR/'
${
tumor
}
'/'
| perl
-pe
's/NORMAL/'
${
normal
}
'/g'
|bgzip
>
${
tumor
}
_
${
normal
}
.mutect.vcf.gz
fi
fi
...
...
This diff is collapsed.
Click to expand it.
variants/somatic_vc.sh
+
6
−
6
View file @
a0bd27af
...
@@ -113,7 +113,7 @@ fi
...
@@ -113,7 +113,7 @@ fi
if
[
$algo
==
'mutect2'
]
if
[
$algo
==
'mutect2'
]
then
then
module load parallel gatk/3.
7
snpeff/4.3q samtools/1.6 vcftools/0.1.14
module load parallel gatk/3.
8
snpeff/4.3q samtools/1.6 vcftools/0.1.14
if
[
-z
${
tbed
}
]
if
[
-z
${
tbed
}
]
then
then
cut
-f
1
${
index_path
}
/genomefile.5M.txt | parallel
--delay
2
-j
10
"java -Xmx20g -jar
\$
GATK_JAR -R
${
reffa
}
-D
${
dbsnp
}
-T MuTect2 -stand_call_conf 10 -A FisherStrand -A QualByDepth -A VariantType -A DepthPerAlleleBySample -A HaplotypeScore -A AlleleBalance -I:tumor
${
tumor
}
-I:normal
${
normal
}
--cosmic
${
cosmic
}
-o
${
tid
}
.{}.mutect.vcf -L {}"
cut
-f
1
${
index_path
}
/genomefile.5M.txt | parallel
--delay
2
-j
10
"java -Xmx20g -jar
\$
GATK_JAR -R
${
reffa
}
-D
${
dbsnp
}
-T MuTect2 -stand_call_conf 10 -A FisherStrand -A QualByDepth -A VariantType -A DepthPerAlleleBySample -A HaplotypeScore -A AlleleBalance -I:tumor
${
tumor
}
-I:normal
${
normal
}
--cosmic
${
cosmic
}
-o
${
tid
}
.{}.mutect.vcf -L {}"
...
@@ -125,13 +125,13 @@ fi
...
@@ -125,13 +125,13 @@ fi
if
[
$algo
==
'varscan'
]
if
[
$algo
==
'varscan'
]
then
then
module load samtools/1.6 VarScan/2.4.2 speedseq/20160506 vcftools/0.1.14
module load samtools/1.6 VarScan/2.4.2 vcftools/0.1.14
sambamba mpileup
--tmpdir
=
./
-t
$SLURM_CPUS_ON_NODE
${
tumor
}
--samtools
"-C 50 -f
${
reffa
}
"
>
t.mpileup
sambamba mpileup
--tmpdir
=
./
-t
$SLURM_CPUS_ON_NODE
${
normal
}
--samtools
"-C 50 -f
${
reffa
}
"
>
n.mpileup
VarScan somatic n.mpileup t.mpileup vscan
--output-vcf
1
VarScan copynumber n.mpileup t.mpileup vscancnv
module
rm
java/oracle/jdk1.7.0_51
module
rm
java/oracle/jdk1.7.0_51
module load snpeff/4.3q
module load snpeff/4.3q
samtools mpileup
-C
50
-f
${
reffa
}
$tumor
>
t.mpileup
samtools mpileup
-C
50
-f
${
reffa
}
$normal
>
t.mpileup
VarScan somatic n.mpileup t.mpileup vscan
--output-vcf
1
VarScan copynumber n.mpileup t.mpileup vscancnv
vcf-concat vscan
*
.vcf | vcf-sort | vcf-annotate
-n
--fill-type
-n
| java
-jar
$SNPEFF_HOME
/SnpSift.jar filter
'((exists SOMATIC) & (GEN[*].DP >= 10))'
| perl
-pe
"s/TUMOR/
${
tid
}
/"
| perl
-pe
"s/NORMAL/
${
nid
}
/g"
| bgzip
>
${
pair_id
}
.varscan.vcf.gz
vcf-concat vscan
*
.vcf | vcf-sort | vcf-annotate
-n
--fill-type
-n
| java
-jar
$SNPEFF_HOME
/SnpSift.jar filter
'((exists SOMATIC) & (GEN[*].DP >= 10))'
| perl
-pe
"s/TUMOR/
${
tid
}
/"
| perl
-pe
"s/NORMAL/
${
nid
}
/g"
| bgzip
>
${
pair_id
}
.varscan.vcf.gz
fi
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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