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
77c74abb
Commit
77c74abb
authored
5 years ago
by
Brandi Cantarel
Browse files
Options
Downloads
Patches
Plain Diff
itdseek memory, cnv b-allele freq code
parent
fb1648e5
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
variants/cnvkit.sh
+8
-3
8 additions, 3 deletions
variants/cnvkit.sh
variants/itdseek.sh
+1
-1
1 addition, 1 deletion
variants/itdseek.sh
with
9 additions
and
4 deletions
variants/cnvkit.sh
+
8
−
3
View file @
77c74abb
...
@@ -30,7 +30,7 @@ baseDir="`dirname \"$0\"`"
...
@@ -30,7 +30,7 @@ baseDir="`dirname \"$0\"`"
if
[[
-z
$index_path
]]
if
[[
-z
$index_path
]]
then
then
index_path
=
'/project/shared/bicf_workflow_ref/human/GRCh38
/clinseq_prj
'
index_path
=
'/project/shared/bicf_workflow_ref/human/GRCh38'
fi
fi
# Check for mandatory options
# Check for mandatory options
if
[[
-z
$pair_id
]]
||
[[
-z
$sbam
]]
if
[[
-z
$pair_id
]]
||
[[
-z
$sbam
]]
...
@@ -51,13 +51,18 @@ echo "${targets}antitargets.bed"
...
@@ -51,13 +51,18 @@ echo "${targets}antitargets.bed"
echo
"
${
normals
}
"
echo
"
${
normals
}
"
source
/etc/profile.d/modules.sh
source
/etc/profile.d/modules.sh
module load cnvkit/0.9.5 bedtools/2.26.0
module load cnvkit/0.9.5 bedtools/2.26.0
samtools/gcc/1.8 bcftools/gcc/1.8
unset
DISPLAY
unset
DISPLAY
#samtools index ${sbam}
#bcftools mpileup --threads 10 -a 'INFO/AD,INFO/ADF,INFO/ADR,FORMAT/DP,FORMAT/SP,FORMAT/AD,FORMAT/ADF,FORMAT/ADR' -Ou -Q20 -d 99999 -C50 -f ${reffa} -t ${index_path}/NGSCheckMate.bed ${sbam} | bcftools call --threads 10 -vmO v -o common_variants.vcf
cnvkit.py coverage
${
sbam
}
${
targets
}
targets.bed
-o
${
pair_id
}
.targetcoverage.cnn
cnvkit.py coverage
${
sbam
}
${
targets
}
targets.bed
-o
${
pair_id
}
.targetcoverage.cnn
cnvkit.py coverage
${
sbam
}
${
targets
}
antitargets.bed
-o
${
pair_id
}
.antitargetcoverage.cnn
cnvkit.py coverage
${
sbam
}
${
targets
}
antitargets.bed
-o
${
pair_id
}
.antitargetcoverage.cnn
cnvkit.py fix
${
pair_id
}
.targetcoverage.cnn
${
pair_id
}
.antitargetcoverage.cnn
${
normals
}
-o
${
pair_id
}
.cnr
cnvkit.py fix
${
pair_id
}
.targetcoverage.cnn
${
pair_id
}
.antitargetcoverage.cnn
${
normals
}
-o
${
pair_id
}
.cnr
cnvkit.py segment
${
pair_id
}
.cnr
-o
${
pair_id
}
.cns
cnvkit.py segment
${
pair_id
}
.cnr
-o
${
pair_id
}
.cns
cnvkit.py call
${
pair_id
}
.cns
-o
${
pair_id
}
.call.cns
cnvkit.py call
${
pair_id
}
.cns
-o
${
pair_id
}
.call.cns
#cnvkit.py call ${pair_id}.cns -v common_variants.vcf -o ${pair_id}.ballelecall.cns
cnvkit.py scatter
${
pair_id
}
.cnr
-s
${
pair_id
}
.call.cns
-t
--segment-color
"blue"
-o
${
pair_id
}
.cnv.scatter.pdf
cnvkit.py scatter
${
pair_id
}
.cnr
-s
${
pair_id
}
.call.cns
-t
--segment-color
"blue"
-o
${
pair_id
}
.cnv.scatter.pdf
cut
-f
1,2,3
${
pair_id
}
.call.cns |
grep
-v
chrom | bedtools intersect
-wao
-b
/project/shared/bicf_workflow_ref/human/GRCh38/cytoBand.txt
-a
stdin |cut
-f
1,2,3,7
>
${
pair_id
}
.cytoband.bed
cut
-f
1,2,3
${
pair_id
}
.call.cns |
grep
-v
chrom | bedtools intersect
-wao
-b
/project/shared/bicf_workflow_ref/human/GRCh38/cytoBand.txt
-a
stdin |cut
-f
1,2,3,7
>
${
pair_id
}
.cytoband.bed
perl
$baseDir
/filter_cnvkit.pl
*
.call.cns
perl
$baseDir
/filter_cnvkit.pl
${
pair_id
}
.call.cns
This diff is collapsed.
Click to expand it.
variants/itdseek.sh
+
1
−
1
View file @
77c74abb
...
@@ -52,4 +52,4 @@ stexe=`which samtools`
...
@@ -52,4 +52,4 @@ stexe=`which samtools`
samtools view -@
$SLURM_CPUS_ON_NODE
-L
${
itdbed
}
${
sbam
}
| /project/shared/bicf_workflow_ref/seqprg/itdseek-1.2/itdseek.pl
--refseq
${
reffa
}
--samtools
${
stexe
}
--bam
${
sbam
}
| vcf-sort | bedtools intersect
-header
-b
${
itdbed
}
-a
stdin | bgzip
>
${
pair_id
}
.itdseek.vcf.gz
samtools view -@
$SLURM_CPUS_ON_NODE
-L
${
itdbed
}
${
sbam
}
| /project/shared/bicf_workflow_ref/seqprg/itdseek-1.2/itdseek.pl
--refseq
${
reffa
}
--samtools
${
stexe
}
--bam
${
sbam
}
| vcf-sort | bedtools intersect
-header
-b
${
itdbed
}
-a
stdin | bgzip
>
${
pair_id
}
.itdseek.vcf.gz
tabix
${
pair_id
}
.itdseek.vcf.gz
tabix
${
pair_id
}
.itdseek.vcf.gz
bcftools norm
--fasta-ref
$reffa
-m
-
-Ov
${
pair_id
}
.itdseek.vcf.gz | java
-Xmx
2
0g
-jar
$SNPEFF_HOME
/snpEff.jar
-no-intergenic
-lof
-c
$SNPEFF_HOME
/snpEff.config GRCh38.86 - |bgzip
>
${
pair_id
}
.itdseek_tandemdup.vcf.gz
bcftools norm
--fasta-ref
$reffa
-m
-
-Ov
${
pair_id
}
.itdseek.vcf.gz | java
-Xmx
3
0g
-jar
$SNPEFF_HOME
/snpEff.jar
-no-intergenic
-lof
-c
$SNPEFF_HOME
/snpEff.config GRCh38.86 - |bgzip
>
${
pair_id
}
.itdseek_tandemdup.vcf.gz
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