-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BFX-534] Update cram tests for mm2.26
- Loading branch information
Robert Vaser
committed
Aug 14, 2023
1 parent
a193c7b
commit bcd99f5
Showing
7 changed files
with
25 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,33 @@ | ||
Basic functionality of option `-N <int>` | ||
|
||
$ "$PBMM2" align -j 1 --preset HiFi \ | ||
> "$TESTDIR"/data/r64385e_20230505_214554_B01.141297211.bc2049--bc2049.reference.fasta \ | ||
> "$TESTDIR"/data/r64385e_20230505_214554_B01.141297211.bc2049--bc2049.bam \ | ||
> "$TESTDIR"/data/r64385e_20230505_214554_B01.73859681.bc2049--bc2049.reference.fasta \ | ||
> "$TESTDIR"/data/r64385e_20230505_214554_B01.73859681.bc2049--bc2049.bam \ | ||
> out.bam | ||
|
||
$ samtools view out.bam | cut -f 1-5 | sed 's/\t/ /g' | ||
m64385e_230506_131841/141297211/ccs 0 chr4 5061 60 | ||
m64385e_230506_131841/141297211/ccs 2048 chr4 8476 60 | ||
m64385e_230506_131841/141297211/ccs 2064 chr16 11579 1 | ||
m64385e_230506_131841/141297211/ccs 2064 chr16 11681 60 | ||
m64385e_230506_131841/141297211/ccs 2064 chr16 12205 14 | ||
m64385e_230506_131841/141297211/ccs 2064 chr16 12060 12 | ||
m64385e_230506_131841/141297211/ccs 2064 chr16 11846 22 | ||
m64385e_230506_131841/73859681/ccs 16 chr12 14240 60 | ||
m64385e_230506_131841/73859681/ccs 2064 chr12 14239 60 | ||
m64385e_230506_131841/73859681/ccs 2048 chr12 14434 60 | ||
m64385e_230506_131841/73859681/ccs 2064 chr12 14946 60 | ||
m64385e_230506_131841/73859681/ccs 2048 chr12 16876 60 | ||
m64385e_230506_131841/73859681/ccs 2048 chr12 14245 60 | ||
|
||
$ "$PBMM2" align -j 1 --preset HiFi -N 1 \ | ||
> "$TESTDIR"/data/r64385e_20230505_214554_B01.141297211.bc2049--bc2049.reference.fasta \ | ||
> "$TESTDIR"/data/r64385e_20230505_214554_B01.141297211.bc2049--bc2049.bam \ | ||
> "$TESTDIR"/data/r64385e_20230505_214554_B01.73859681.bc2049--bc2049.reference.fasta \ | ||
> "$TESTDIR"/data/r64385e_20230505_214554_B01.73859681.bc2049--bc2049.bam \ | ||
> out.n1.bam | ||
|
||
$ samtools view out.n1.bam | cut -f 1-5 | sed 's/\t/ /g' | ||
m64385e_230506_131841/141297211/ccs 0 chr4 5061 60 | ||
m64385e_230506_131841/73859681/ccs 16 chr12 14240 60 | ||
|
||
$ "$PBMM2" align -j 1 --preset HiFi -N 4 \ | ||
> "$TESTDIR"/data/r64385e_20230505_214554_B01.141297211.bc2049--bc2049.reference.fasta \ | ||
> "$TESTDIR"/data/r64385e_20230505_214554_B01.141297211.bc2049--bc2049.bam \ | ||
> "$TESTDIR"/data/r64385e_20230505_214554_B01.73859681.bc2049--bc2049.reference.fasta \ | ||
> "$TESTDIR"/data/r64385e_20230505_214554_B01.73859681.bc2049--bc2049.bam \ | ||
> out.n4.bam | ||
|
||
$ samtools view out.n4.bam | cut -f 1-5 | sed 's/\t/ /g' | ||
m64385e_230506_131841/141297211/ccs 0 chr4 5061 60 | ||
m64385e_230506_131841/141297211/ccs 2048 chr4 8476 60 | ||
m64385e_230506_131841/141297211/ccs 2064 chr16 11579 1 | ||
m64385e_230506_131841/141297211/ccs 2064 chr16 11681 60 | ||
m64385e_230506_131841/73859681/ccs 16 chr12 14240 60 | ||
m64385e_230506_131841/73859681/ccs 2064 chr12 14239 60 | ||
m64385e_230506_131841/73859681/ccs 2048 chr12 14434 60 | ||
m64385e_230506_131841/73859681/ccs 2064 chr12 14946 60 |
Binary file removed
BIN
-13.1 KB
tests/cram/data/r64385e_20230505_214554_B01.141297211.bc2049--bc2049.bam
Binary file not shown.
6 changes: 0 additions & 6 deletions
6
tests/cram/data/r64385e_20230505_214554_B01.141297211.bc2049--bc2049.reference.fasta
This file was deleted.
Oops, something went wrong.
Binary file added
BIN
+85.3 KB
tests/cram/data/r64385e_20230505_214554_B01.73859681.bc2049--bc2049.bam
Binary file not shown.
2 changes: 2 additions & 0 deletions
2
tests/cram/data/r64385e_20230505_214554_B01.73859681.bc2049--bc2049.reference.fasta
Large diffs are not rendered by default.
Oops, something went wrong.
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,12 +1,12 @@ | ||
Repeated matches trimming tags all alignments of a record with `rm:i:1` if there is at least one overlap in query positions | ||
|
||
$ "$PBMM2" align -j 1 --preset HiFi \ | ||
> "$TESTDIR"/data/r64385e_20230505_214554_B01.141297211.bc2049--bc2049.reference.fasta \ | ||
> "$TESTDIR"/data/r64385e_20230505_214554_B01.141297211.bc2049--bc2049.bam \ | ||
> "$TESTDIR"/data/r64385e_20230505_214554_B01.73859681.bc2049--bc2049.reference.fasta \ | ||
> "$TESTDIR"/data/r64385e_20230505_214554_B01.73859681.bc2049--bc2049.bam \ | ||
> out.bam | ||
|
||
$ samtools view -c out.bam | ||
7 | ||
6 | ||
|
||
$ samtools view out.bam | grep -c -o "rm:i:1" | ||
7 | ||
6 |
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