-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optional mpileup params, incr default mindepth
Set default mindepth to: --ignore-RG --min-MQ 1 --max-depth 250000 --max-idepth 250000 Add mpileup_parameters as option. Update example files as well since they are to outdated. Not sure why the coverage goes down by 2, bam file is still the same. Code seems similar as well. Perhaps change in mpileup version.
- Loading branch information
Showing
5 changed files
with
42 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
Running: | ||
samtools view -bh tests/test_data/subset1.bam 17:7574012-7574012 | samtools mpileup -R -q 1 -f tests/test_data/human_g1k_v37_chr17.fa - | grep -P '^17\t7574012\t' | ||
samtools view -bh tests/test_data/subset1.bam 17:7574012-7574012 | samtools mpileup --ignore-RG --min-MQ 1 --max-depth 250000 --max-idepth 250000 -f tests/test_data/human_g1k_v37_chr17.fa - | awk '$2 == 7574012' | ||
[mpileup] 1 samples in 1 input files | ||
<mpileup> Set max per-file depth to 8000 | ||
Running: | ||
samtools view -bh tests/test_data/subset1.bam 17:7574012-7574012 | samtools mpileup -R -q 1 -f tests/test_data/human_g1k_v37_chr17.fa - | grep -P '^17\t7574012\t' | ||
samtools view -bh tests/test_data/subset1.bam 17:7574012-7574012 | samtools mpileup --ignore-RG --min-MQ 1 --max-depth 250000 --max-idepth 250000 -f tests/test_data/human_g1k_v37_chr17.fa - | awk '$2 == 7574012' | ||
[mpileup] 1 samples in 1 input files | ||
<mpileup> Set max per-file depth to 8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
sample chrom pos ref cov A C G T * - + val_ref val_alt val_al_type val_al_count val_maf most_common_indel most_common_indel_count most_common_indel_maf most_common_indel_type most_common_al most_common_al_count most_common_al_maf most_common_count most_common_maf | ||
tests/test_data/subset1.bam 17 7574012 C 675 225 450 0 0 0 nan nan C G snv 0 0.0 nan nan nan nan A 225 0.333333333333 225 0.333333333333 | ||
tests/test_data/subset1.bam 17 7574012 C 675 225 450 0 0 0 nan nan C A snv 225 0.333333333333 nan nan nan nan A 225 0.333333333333 225 0.333333333333 | ||
tests/test_data/subset1.bam 17 7574012 C 673 223 450 0 0 0 nan nan C G snv 0 0.0 nan nan nan nan A 223 0.331352154532 223 0.331352154532 | ||
tests/test_data/subset1.bam 17 7574012 C 673 223 450 0 0 0 nan nan C A snv 223 0.331352154532 nan nan nan nan A 223 0.331352154532 223 0.331352154532 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters