-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #124 in SAT/pbmm2 from bugfix/TAK-316-add-demuxed-…
…test to develop * commit '2733035467f5db8bc32b954f75cbb457874a7910': Add single demux test case
- Loading branch information
Showing
7 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
23 changes: 23 additions & 0 deletions
23
tests/cram/data/demultiplex.bc1009--bc1009.consensusreadset.xml
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,23 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<pbds:ConsensusReadSet CreatedAt="2020-01-18T08:29:44" MetaType="PacBio.DataSet.ConsensusReadSet" Name="pacbio_dataset_consensusreadset-200118_162944922" Tags="" TimeStampedName="pacbio_dataset_consensusreadset-200118_162944922" UniqueId="35d947ed-f37c-53f4-09f1-4d72252bdee8" Version="3.0.1" xmlns:pbbase="http://pacificbiosciences.com/PacBioBaseDataModel.xsd" xmlns:pbds="http://pacificbiosciences.com/PacBioDatasets.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pacificbiosciences.com/PacBioDataModel.xsd"> | ||
<pbbase:ExternalResources> | ||
<pbbase:ExternalResource MetaType="PacBio.ConsensusReadFile.ConsensusReadBamFile" ResourceId="demultiplex.bc1009--bc1009.bam" TimeStampedName="pacbio_consensusreadfile_consensusreadbamfile-200118_162944920" UniqueId="2836e255-361e-4547-a8e2-c7f515ed9b05"> | ||
<pbbase:FileIndices> | ||
<pbbase:FileIndex MetaType="PacBio.Index.PacBioIndex" ResourceId="demultiplex.bc1009--bc1009.bam.pbi" TimeStampedName="pacbio_index_pacbioindex-200118_162944919" UniqueId="ce8cc429-70bb-44cd-943a-5317756ad566"/> | ||
<pbbase:FileIndex MetaType="PacBio.Index.BamIndex" ResourceId="demultiplex.bc1009--bc1009.bam.bai" TimeStampedName="pacbio_index_bamindex-200118_162944919" UniqueId="cb3e77b5-c547-4b17-afc7-a08780a7d88e"/> | ||
</pbbase:FileIndices> | ||
</pbbase:ExternalResource> | ||
</pbbase:ExternalResources> | ||
<pbds:Filters> | ||
<pbds:Filter> | ||
<pbbase:Properties> | ||
<pbbase:Property Name="movie" Operator="=" Value="m54006_200116_134114"/> | ||
</pbbase:Properties> | ||
</pbds:Filter> | ||
</pbds:Filters> | ||
<pbds:DataSetMetadata> | ||
<pbds:TotalLength>21457684</pbds:TotalLength> | ||
<pbds:NumRecords>5081</pbds:NumRecords> | ||
</pbds:DataSetMetadata> | ||
</pbds:ConsensusReadSet> | ||
|
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,2 @@ | ||
>ref | ||
TGCCTCCTAATTACTTTGAGGACCCTCCCAAGCATGCTAGATTTGCTGAGCCTGCAGCCAGCCCCATAAGGAACTCCTGCATCCTGTATGCTGAGCAGAGCACAAACACTCATAAACTGAGGCCCATGCATGGCGTGACACCACAGTTCCACACCAAAGAGCAAGAGCCATAAAAACAGAACAGATACTTTCTAAATTGCTTTCATCAATCTTACTTTGAGAAGAGGATTTTTTGGCTGAAGCACGTGAACAGAACTGCCAAAATCCAAACTTTGTGAGCAGTGTTTGTTACTCAAAATTAGTGAATACCTCCTTTCTCAACAGCAAAATACAGAGAAATATGACAAATATGCATTTTATTTAAAATAACTATAAAACTATAAATAAACCTAATGCAGTTGATTTCAGAGCATGCTAAGAACCTTTAAAAGTTATTATTCTAGCCAGGCATGGTGGCTCACACCTGTAATCCCAGCACTTTGGGAGGCCGAGGTGGACAGATCACAAGGTCAGGAGTTCAAGACCAGCCTGGCCAACATGGTGAAACCCCATCTCTACTAAAAATACAAAAATTAGCTGGACATGGTGGTGGGCGCCTGTAATCCCAGCTACTCAGAAGGCTGAGGCAGGAGAAGCATTTGAACCTGGGAGGCAGAGACTGCAGTGAGCCGAGATTGTATCACTGCACTCCAGCCTGGGTGACAATGTGAGACTACATCTCAAAAAATATATAGATATATATTATTCTAAACTACTTTTGTTTTTAGAGCATTTTAAATCTATCTTACAATATGAACAGGTTATATCTGGCAGGATACATGAGGAACTGAAATAGTGCTTGTTCTTGGGGACAAAGTTAGGTACTCAGAGGAAAGGGGTGGAAGGAAGATATTTTAATTATTGCCCTTTTGTAATTACAGAATTTGTATCATGTCAATGTATTACTTATGCAAAAATAATACATTAAAAAAAATTTTTTTTGAGATAGAGTCTCGCTCTGTCACCCAGGCTGGAGTGCAGTGGCGTGATCTCAACTCACTGCAGACTCTGCCTCCCGGGTTCAAGCGATTTTCCTGCCTCAGCCTCCCAGGTAGCTTGGATTACAGGCACGTGCCACCATGACCAGCTAATTTTTGTATTTTTAGTAGAGACAGGGTTTCACCATGTTAGCCAGGCTGGTCTCAAACTCCTGACCTCAGGTGATTCGTCCACCTAGGCCTCCCAAAGTGCTCGGATTAAAGGTGTAAGCCACCTTGCCAGTCCTGATTAAATTTTTTAAATAAGGTAATCATATATTACCTTAAAGTAATGAAACAAAATCTATCTCCTTTGTCAAGGCAGCAAAGGAAATTTCTTGATACCCATATTTTGAAGATAAGCAAATGCAGGTTCTGTCAAATCAGCATAAGAAAGAGAAGGCATATTTTTAGAATGATCAAGTGTCTGAAGCAGCCCAGCAGAAAGGTCTTCCTTCCCATCAGGAGCCCTGTTTAGTGTTTACACAAGATACATGCAATGTGTGAACTTTTATGACACCTACCTCCTAGAAAAGCACTACAGTAAATTTCTGGATGAGAAATTACTTACTGAAGAGATAAGCCAAATTGTTTTAAAATTTCTCCAAATATCCAAAAAGTTTTTCCATCCTTTAGAATAATTTATTCCTAAATTTTATTCCAACAAATAAGCTAACACTGCTCTCCGAATCATTTTCTAATTAAACTTTGAAGACGAGACAAGGATCATAACAGAAACAAAGAACAAGAAATATTACTAAAAATTAATCAGTCTTAACAGAGATATTCTTACCAAATGCCATCTGGGACACATCCAGATCGGAAATAGAATACTGAGAGGTAAGAGAAAGGCCTGAACTGCACCAGAGTACTTCCTAACTCCTACTGTACACTCGACACACAGACTTCCAGGGAAAGTCCTGGGGTTCCGCTAGATGTTTTAATGGTCTCTCTTTTCCTGTTTCAAAAATTCTCCCCAAGAACAAGCAACAGAAACCCCTAGCTTCCAAAAAGTAACAAGCTGTCAGCAATGAAGCAAACAGAAACCCTTTCACTGGCACATCTGAGATGCCCACGGAGTCTGCGGACCCCCCGTATTCTGGCAAGCCTGACTGGAATACTGGTAAAATGTACACCTCATTCATCCCTCGGCAATTAACCTCCCCATCAGCAACGTGTTGGTTTTATTCCCAACACACATAGGCAAAAAACTTCAATCAACTCTTCCTAATATTTAAGATAATTTCATTAATCACCACGTAAGTTCACCACTTTACTTGGCAACCACAACTCATTCAAACGCCTGCAGACCAACTTAGGCTTAGATGAGCAGATCTCTTAGGTGGTGCTTAAAATCGTGTTACTACCACCGTGATCATGAACTAAATGAAATGTCCTGACAATGTAGGAAGAGCCTCAAATCTCAGGCTGTTTTAAGTGCCACTAGGAAAAGAAATCTCCCATTGGACGCGCCCTCACTCCCCGCCCCCCCCCCTGCCCCGCCACTCCCGCCGAGGCGTCCTAAAAGCATTATGTCATCCACTGCCCCCACATCTCTCCAGCTCCAAACCCCGCCTCCTCTCGAAGTGTCCCGCGCCCCCAGCCCTCTTCCCTCTCAGACTAGAAGAGGGAAGTGGCACTGAGCAAATCTCGGCTCCTCCAAGTTCTCTTCACAACGCAGTTAAAAGAACCCCCGCCCTGGTTTCTCGCAAATAAAAAGAAACAAGTTCTCGCCCCAACTCTTCGCATCCTGCGAAGGGCGAGAGGGCTGAGGCCGTGACTCCCCTCGGTGAATTCAGGACAGGCCCCAACAAGGCTCTGCCTCCCCTCGCGAGAGGACAAGGGAAGACCCAAGTGAGGGAGCGGGGCTGAAGTGGGGGAAGGCCTCGCCCCAGGAGGGGGCGGGTGTCCCTCATGGGCTCTGGGTTGCTGGGTCACTCTGTCTCTGCGGGGCCGGGGGTTCGTGTCGCCGGCCCGCAGGCTGCAGGGTTACCGCCATCCCCGCCGTAGCCTGGGACCCGCCGGGACAGGGAGCTGCAGC |
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,8 @@ | ||
$ IN=$TESTDIR/data/demultiplex.bc1009--bc1009.consensusreadset.xml | ||
$ REF=$TESTDIR/data/demultiplex.bc1009--bc1009.ref.fasta | ||
$ SAMTOOLS_VERSION=$(samtools --version | head -n 1 | cut -d '.' -f 2) | ||
$ if [ $SAMTOOLS_VERSION -ge 10 ]; then SAMTOOLS_NOPG='--no-PG'; fi | ||
|
||
$ $__PBTEST_PBMM2_EXE align $IN $REF "${CRAMTMP}"/demultiplex.bc1009--bc1009.bam --log-level FATAL | ||
$ samtools view ${SAMTOOLS_NOPG} "${CRAMTMP}"/demultiplex.bc1009--bc1009.bam | wc -l | tr -d ' ' | ||
1 |
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