Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ngspipelines
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
genotoul-bioinfo
ngspipelines
Commits
0f8de69b
Commit
0f8de69b
authored
9 years ago
by
Celine Noirot
Browse files
Options
Downloads
Patches
Plain Diff
Correct option for merging SNP
parent
63253ae1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
workflows/rnaseqdenovo/components/gatkfilter.py
+2
-1
2 additions, 1 deletion
workflows/rnaseqdenovo/components/gatkfilter.py
with
2 additions
and
1 deletion
workflows/rnaseqdenovo/components/gatkfilter.py
+
2
−
1
View file @
0f8de69b
...
@@ -83,7 +83,8 @@ class GatkVariantFilter (Component):
...
@@ -83,7 +83,8 @@ class GatkVariantFilter (Component):
# Merge SNP and indels
# Merge SNP and indels
self
.
add_shell_execution
(
self
.
get_exec_path
(
"
java
"
)
+
"
"
+
xmx_option
+
"
-jar
"
+
self
.
get_exec_path
(
"
gatk
"
)
+
"
-T CombineVariants
"
\
self
.
add_shell_execution
(
self
.
get_exec_path
(
"
java
"
)
+
"
"
+
xmx_option
+
"
-jar
"
+
self
.
get_exec_path
(
"
gatk
"
)
+
"
-T CombineVariants
"
\
"
--assumeIdenticalSamples --genotypemergeoption UNIQUIFY -R $1 --variant $2 --variant $3 -o $4 2>> $5
"
,
cmd_format
=
'
{EXE} {IN} {OUT}
'
,
"
--assumeIdenticalSamples -R $1 --variant:snp $2 --variant:indel $3 -o $4
\
-genotypeMergeOptions PRIORITIZE -priority snp,indel 2>> $5
"
,
cmd_format
=
'
{EXE} {IN} {OUT}
'
,
inputs
=
[
self
.
reference
,
self
.
snp_tagged
,
self
.
indel_tagged
],
outputs
=
[
self
.
tmp_file
,
self
.
tmp_file_stderr
]
)
inputs
=
[
self
.
reference
,
self
.
snp_tagged
,
self
.
indel_tagged
],
outputs
=
[
self
.
tmp_file
,
self
.
tmp_file_stderr
]
)
# Discard no passing filters
# Discard no passing filters
self
.
add_shell_execution
(
self
.
get_exec_path
(
"
java
"
)
+
"
"
+
xmx_option
+
"
-jar
"
+
self
.
get_exec_path
(
"
gatk
"
)
+
"
-T SelectVariants
"
\
self
.
add_shell_execution
(
self
.
get_exec_path
(
"
java
"
)
+
"
"
+
xmx_option
+
"
-jar
"
+
self
.
get_exec_path
(
"
gatk
"
)
+
"
-T SelectVariants
"
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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