Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nextflow
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
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rseraphi
nextflow
Commits
16f01d2f
Unverified
Commit
16f01d2f
authored
6 years ago
by
Laurent Modolo
Browse files
Options
Downloads
Patches
Plain Diff
SNP_calling.nf: fix format
parent
12be019b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/SNP_calling.config
+2
-2
2 additions, 2 deletions
src/SNP_calling.config
src/SNP_calling.nf
+8
-6
8 additions, 6 deletions
src/SNP_calling.nf
with
10 additions
and
8 deletions
src/SNP_calling.config
+
2
−
2
View file @
16f01d2f
...
...
@@ -34,10 +34,10 @@ profiles {
container
=
"samtools:1.7"
}
withName
:
samtools_SNP_tumor
{
container
=
"
sam
tools:1.7"
container
=
"
bcf
tools:1.7"
}
withName
:
samtools_SNP_norm
{
container
=
"
sam
tools:1.7"
container
=
"
bcf
tools:1.7"
}
withName
:
vcf_to_csv_tumor
{
container
=
"gatk:4.0.8.1"
...
...
This diff is collapsed.
Click to expand it.
src/SNP_calling.nf
+
8
−
6
View file @
16f01d2f
...
...
@@ -355,7 +355,8 @@ process samtools_SNP_tumor {
script:
"""
samtools mpileup -AE -uf ${fasta} ${bam_tumor} | \
bcftools mpileup -AE -f ${fasta} ${bam_tumor} --output-type v \
-a FORMAT/AD,FORMAT/ADF,FORMAT/ADR,FORMAT/DP,FORMAT/SP,INFO/AD,INFO/ADF,INFO/ADR | \
bcftools call -mv --output-type v > ${file_id_tumor}_raw.vcf
bcftools filter -s LowQual -e '%QUAL<20 || DP>100' ${file_id_tumor}_raw.vcf \
> ${file_id_tumor}_filtered.vcf
...
...
@@ -379,7 +380,8 @@ process samtools_SNP_norm {
script:
"""
samtools mpileup -AE -uf ${fasta} ${bam_norm} | \
bcftools mpileup -AE -f ${fasta} ${bam_norm} --output-type v \
-a FORMAT/AD,FORMAT/ADF,FORMAT/ADR,FORMAT/DP,FORMAT/SP,INFO/AD,INFO/ADF,INFO/ADR | \
bcftools call -mv --output-type v > ${file_id_norm}_raw.vcf
bcftools filter -s LowQual -e '%QUAL<20 || DP>100' ${file_id_norm}_raw.vcf \
> ${file_id_norm}_filtered.vcf
...
...
@@ -400,10 +402,10 @@ process vcf_to_csv_tumor {
script:
"""
gatk VariantsToTable -V ${file_id_tumor}_raw.vcf \
-F CHROM -F POS -F TYPE -GF GT -GF AD -
G
F A
F
\
-F CHROM -F POS -F TYPE -GF GT -GF AD -F A
D -F DP
\
-O ${file_id_tumor}_raw.csv
gatk VariantsToTable -V ${file_id_tumor}_filtered.vcf \
-F CHROM -F POS -F TYPE -GF GT -GF AD -
G
F A
F
\
-F CHROM -F POS -F TYPE -GF GT -GF AD -F A
D -F DP
\
-O ${file_id_tumor}_filtered.csv
"""
}
...
...
@@ -422,10 +424,10 @@ process vcf_to_csv_norm {
script:
"""
gatk VariantsToTable -V ${file_id_norm}_raw.vcf \
-F CHROM -F POS -F TYPE -GF GT -GF AD -
G
F A
F
\
-F CHROM -F POS -F TYPE -GF GT -GF AD -F A
D -F DP
\
-O ${file_id_norm}_raw.csv
gatk VariantsToTable -V ${file_id_norm}_filtered.vcf \
-F CHROM -F POS -F TYPE -GF GT -GF AD -
G
F A
F
\
-F CHROM -F POS -F TYPE -GF GT -GF AD -F A
D -F DP
\
-O ${file_id_norm}_filtered.csv
"""
}
...
...
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