Skip to content
Snippets Groups Projects
Commit 41a31528 authored by Brandi Cantarel's avatar Brandi Cantarel
Browse files

updating git repo

parent 6dd51206
Branches
Tags
No related merge requests found
...@@ -8,7 +8,7 @@ usage() { ...@@ -8,7 +8,7 @@ usage() {
echo "-n --NucType" echo "-n --NucType"
echo "-p --Prefix for output file name" echo "-p --Prefix for output file name"
echo "-c --Capture Bedfile" echo "-c --Capture Bedfile"
echo "Example: bash bamqc.sh -p prefix -r /project/shared/bicf_workflow_ref/GRCh38 -b SRR1551047.bam -y dna -c target.bed" echo "Example: bash bamqc.sh -p prefix -r /project/shared/bicf_workflow_ref/GRCh38 -b SRR1551047.bam -n dna -c target.bed"
exit 1 exit 1
} }
OPTIND=1 # Reset OPTIND OPTIND=1 # Reset OPTIND
......
...@@ -106,7 +106,7 @@ then ...@@ -106,7 +106,7 @@ then
bcftools norm -c s -f ${reffa} -w 10 -O z -o ${pair_id}.platypus.vcf.gz platypus.vcf.gz bcftools norm -c s -f ${reffa} -w 10 -O z -o ${pair_id}.platypus.vcf.gz platypus.vcf.gz
elif [[ $algo == 'strelka2' ]] elif [[ $algo == 'strelka2' ]]
then then
if [[ $rna==1 ]] if [[ $rna == 1 ]]
then then
mode="--rna" mode="--rna"
else else
......
...@@ -38,9 +38,6 @@ foreach $vcf (@vcffiles) { ...@@ -38,9 +38,6 @@ foreach $vcf (@vcffiles) {
} }
my ($chrom, $pos,$id,$ref,$alt,$score, my ($chrom, $pos,$id,$ref,$alt,$score,
$filter,$annot,$format,@gts) = split(/\t/, $line); $filter,$annot,$format,@gts) = split(/\t/, $line);
if ($pos eq '90088702') {
warn "allele frequency\n";
}
my %hash = (); my %hash = ();
foreach $a (split(/;/,$annot)) { foreach $a (split(/;/,$annot)) {
my ($key,$val) = split(/=/,$a); my ($key,$val) = split(/=/,$a);
...@@ -107,7 +104,7 @@ foreach $vcf (@vcffiles) { ...@@ -107,7 +104,7 @@ foreach $vcf (@vcffiles) {
} }
close VCF; close VCF;
} }
my @callers = ('ssvar','platypus','sam','gatk','strelka2','hotspot'); my @callers = ('ssvar','sam','gatk','strelka2','platypus','hotspot');
if (grep(/mutect/,@vcffiles)) { if (grep(/mutect/,@vcffiles)) {
@callers = ('sssom','pmutect','shimmer','strelka2','varscan','virmid'); @callers = ('sssom','pmutect','shimmer','strelka2','varscan','virmid');
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment