Skip to content
Snippets Groups Projects
Commit 6104d68e authored by Wai Yi Leung's avatar Wai Yi Leung
Browse files

Update test

parent 39772398
No related branches found
No related tags found
No related merge requests found
...@@ -73,11 +73,15 @@ class FastqcV0101Test extends TestNGSuite with Matchers { ...@@ -73,11 +73,15 @@ class FastqcV0101Test extends TestNGSuite with Matchers {
fqc.contaminants = Option(resourceFile("fqc_contaminants_v0101.txt")) fqc.contaminants = Option(resourceFile("fqc_contaminants_v0101.txt"))
// found adapters also contain the adapters in reverse complement (done within flexiprep/fastqc only) // found adapters also contain the adapters in reverse complement (done within flexiprep/fastqc only)
val adapters = fqc.foundAdapters val adapters = fqc.foundAdapters
// we find 1 adapter which comes with the Reverse Complement counterpart
adapters.size shouldBe 2
adapters.head.name shouldEqual "TruSeq Adapter, Index 1_RC" if (fqc.enableRCtrimming) {
adapters.head.seq shouldEqual "CAAGCAGAAGACGGCATACGAGATCGTGATGTGACTGGAGTTCAGACGTGTGCTCTTCCGATC" // we find 1 adapter which comes with the Reverse Complement counterpart
adapters.size shouldBe 2
adapters.head.name shouldEqual "TruSeq Adapter, Index 1_RC"
adapters.head.seq shouldEqual "CAAGCAGAAGACGGCATACGAGATCGTGATGTGACTGGAGTTCAGACGTGTGCTCTTCCGATC"
} else {
adapters.size shouldBe 1
}
adapters.last.name shouldEqual "TruSeq Adapter, Index 1" adapters.last.name shouldEqual "TruSeq Adapter, Index 1"
adapters.last.seq shouldEqual "GATCGGAAGAGCACACGTCTGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG" adapters.last.seq shouldEqual "GATCGGAAGAGCACACGTCTGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment