Commit 6104d68e authored by Wai Yi Leung's avatar Wai Yi Leung
Browse files

Update test

parent 39772398
......@@ -73,11 +73,15 @@ class FastqcV0101Test extends TestNGSuite with Matchers {
fqc.contaminants = Option(resourceFile("fqc_contaminants_v0101.txt"))
// found adapters also contain the adapters in reverse complement (done within flexiprep/fastqc only)
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"
adapters.head.seq shouldEqual "CAAGCAGAAGACGGCATACGAGATCGTGATGTGACTGGAGTTCAGACGTGTGCTCTTCCGATC"
if (fqc.enableRCtrimming) {
// 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.seq shouldEqual "GATCGGAAGAGCACACGTCTGAACTCCAGTCACATCACGATCTCGTATGCCGTCTTCTGCTTG"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment