Exemplo n.º 1
0
def test__to_merged_fullpath():
    base = "/foo/bar/my_R1_project/"
    a = pipelines._to_merged(base + "foobaz_2.fastq", "stitched")
    b = base + "foobaz_stitched.fastq"
    assert a == b
Exemplo n.º 2
0
def test__to_merged_stiched():
    """ Test stitch tagging """
    yield eq, pipelines._to_merged("2.fastq", "stitched"), "stitched.fastq"
Exemplo n.º 3
0
def test__to_merged_unamed_diff_default():
    """ Test unnamed merge tagging different default """
    yield eq, pipelines._to_merged("koji1.fastq"), "kojimerged.fastq"
Exemplo n.º 4
0
def test__to_merged_named_diff_notation():
    """ Test named merge tagging different notation """
    yield eq, pipelines._to_merged("kojiR1.fastq", "foo"), "kojifoo.fastq"
Exemplo n.º 5
0
def test__to_merged_unnamed():
    """ Test unnamed merge tagging """
    yield eq, pipelines._to_merged("koji_R1.fastq"), "koji_merged.fastq"
Exemplo n.º 6
0
def test__to_merged_named():
    """ Test named merge tagging """
    yield eq, pipelines._to_merged("koji_R1.fastq", "foo"), "koji_foo.fastq"