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
fab98a6d
There was an error fetching the commit references. Please try again later.
Commit
fab98a6d
authored
4 years ago
by
Brandi Cantarel
Browse files
Options
Downloads
Patches
Plain Diff
update gatk runner
parent
ec1a962c
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
variants/gatkrunner.sh
+6
-14
6 additions, 14 deletions
variants/gatkrunner.sh
with
6 additions
and
14 deletions
variants/gatkrunner.sh
+
6
−
14
View file @
fab98a6d
...
@@ -35,24 +35,16 @@ if [[ -z $NPROC ]]
...
@@ -35,24 +35,16 @@ if [[ -z $NPROC ]]
then
then
NPROC
=
`
nproc
`
NPROC
=
`
nproc
`
fi
fi
if
[[
-a
"
${
index_path
}
/dbSnp.gatk4.vcf.gz"
]]
dbsnp
=
"
${
index_path
}
/dbSnp.gatk4.vcf.gz"
if
[[
!
-f
"
${
index_path
}
/dbSnp.gatk4.vcf.gz"
]]
then
then
dbsnp
=
"
${
index_path
}
/dbSnp.gatk4.vcf.gz"
else
echo
"Missing dbSNP File:
${
index_path
}
/dbSnp.gatk4.vcf.gz"
echo
"Missing dbSNP File:
${
index_path
}
/dbSnp.gatk4.vcf.gz"
usage
usage
fi
fi
if
[[
-a
"
${
index_path
}
/GoldIndels.vcf.gz"
]]
reffa
=
"
${
index_path
}
/genome.fa"
then
if
[[
!
-f
"
${
index_path
}
/genome.fa"
]]
knownindel
=
"
${
index_path
}
/GoldIndels.vcf.gz"
else
echo
"Missing InDel File:
${
index_path
}
/GoldIndels.vcf.gz"
usage
fi
if
[[
-a
"
${
index_path
}
/genome.fa"
]]
then
then
reffa
=
"
${
index_path
}
/genome.fa"
else
echo
"Missing Fasta File:
${
index_path
}
/genome.fa"
echo
"Missing Fasta File:
${
index_path
}
/genome.fa"
usage
usage
fi
fi
...
@@ -62,6 +54,6 @@ module load gatk/4.1.4.0 samtools/gcc/1.8
...
@@ -62,6 +54,6 @@ module load gatk/4.1.4.0 samtools/gcc/1.8
which samtools
which samtools
samtools index -@
$NPROC
${
sbam
}
samtools index -@
$NPROC
${
sbam
}
gatk
--java-options
"-Xmx32g"
BaseRecalibrator
-I
${
sbam
}
--known-sites
$
{
index_path
}
/
db
S
np
.gatk4.vcf.gz
-R
${
reffa
}
-O
${
pair_id
}
.recal_data.table
--use-original-qualities
gatk
--java-options
"-Xmx32g"
BaseRecalibrator
-I
${
sbam
}
--known-sites
$db
s
np
-R
${
reffa
}
-O
${
pair_id
}
.recal_data.table
--use-original-qualities
gatk
--java-options
"-Xmx32g"
ApplyBQSR
-I
${
sbam
}
-R
${
reffa
}
-O
${
pair_id
}
.final.bam
--use-original-qualities
-bqsr
${
pair_id
}
.recal_data.table
gatk
--java-options
"-Xmx32g"
ApplyBQSR
-I
${
sbam
}
-R
${
reffa
}
-O
${
pair_id
}
.final.bam
--use-original-qualities
-bqsr
${
pair_id
}
.recal_data.table
samtools index -@
$NPROC
${
pair_id
}
.final.bam
samtools index -@
$NPROC
${
pair_id
}
.final.bam
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