Skip to content

Commit

Permalink
suppress indel/snp calling to reduce running time
Browse files Browse the repository at this point in the history
  • Loading branch information
wangqinhu committed Jan 3, 2018
1 parent ee1398c commit 896deec
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016-2017 Xu Lab, Northwest A&F University
Copyright (c) 2016-2018 Xu Lab, Northwest A&F University

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The `hits` is an integrated pipeline for DNA resequencing and RNAseq analyses in
HIgh-Throughput Sequencing (hits) pipeline
------------------------------------------
```
hits 0.4.2
hits 0.4.3
Usage:
Expand Down Expand Up @@ -94,7 +94,7 @@ Qinhu Wang (wangqinhu@nwafu.edu.cn)

Copyright
---------
2016-2017 (c) Xu Lab, Northwest A&F University
2016-2018 (c) Xu Lab, Northwest A&F University

License
-------
Expand Down
6 changes: 1 addition & 5 deletions hits
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use warnings;
use Getopt::Std;

my $appname = 'hits';
my $version = '0.4.2';
my $version = '0.4.3';
my %options = ();

init();
Expand Down Expand Up @@ -70,10 +70,6 @@ sub dnaseq {
print STDERR "Calling variants ...\n";
my $callvar_cmd = "samtools mpileup -uf $options{'g'} $dir/bam/$fq.bam | bcftools call --ploidy 1 -cv -O v - > $dir/vcf/$fq.vcf";
system($callvar_cmd);
my $callsnp_cmd = "samtools mpileup -uf $options{'g'} $dir/bam/$fq.bam | bcftools call --ploidy 1 -cv -V indels -O v - > $dir/vcf/$fq.snps.vcf";
system($callsnp_cmd);
my $callindel_cmd = "samtools mpileup -uf $options{'g'} $dir/bam/$fq.bam | bcftools call --ploidy 1 -cv -V snps -O v - > $dir/vcf/$fq.indels.vcf";
system($callindel_cmd);
}

print STDERR "Done\n\n";
Expand Down

0 comments on commit 896deec

Please sign in to comment.