forked from viash-hub/biobox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d90924
commit ae3164e
Showing
5 changed files
with
44 additions
and
3 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,5 +1,14 @@ | ||
#!/bin/bash | ||
|
||
# Download test data from snakemake wrapper | ||
|
||
wget https://raw.githubusercontent.com/snakemake/snakemake-wrappers/3a4f7004281efc176fd9af732ad88d00c47d432d/bio/samtools/flagstat/test/mapped/a.bam | ||
samtools index a.bam | ||
samtools index a.bam | ||
# samtools flagstat a.bam > a_ref.flagstat | ||
|
||
|
||
# Download test data from nf-core module | ||
|
||
wget https://github.com/nf-core/test-datasets/raw/modules/data/genomics/sarscov2/illumina/bam/test.paired_end.sorted.bam | ||
wget https://github.com/nf-core/test-datasets/raw/modules/data/genomics/sarscov2/illumina/bam/test.paired_end.sorted.bam.bai | ||
# samtools flagstat test.paired_end.sorted.bam > test_ref.paired_end.sorted.flagstat |
Binary file not shown.
Binary file not shown.
13 changes: 13 additions & 0 deletions
13
src/samtools/flagstat/test_data/test_ref.paired_end.sorted.flagstat
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
200 + 0 in total (QC-passed reads + QC-failed reads) | ||
0 + 0 secondary | ||
0 + 0 supplementary | ||
0 + 0 duplicates | ||
197 + 0 mapped (98.50% : N/A) | ||
200 + 0 paired in sequencing | ||
100 + 0 read1 | ||
100 + 0 read2 | ||
192 + 0 properly paired (96.00% : N/A) | ||
194 + 0 with itself and mate mapped | ||
3 + 0 singletons (1.50% : N/A) | ||
0 + 0 with mate mapped to a different chr | ||
0 + 0 with mate mapped to a different chr (mapQ>=5) |