Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/s/e/seq_crumbs-HEAD/test/test_bulk_filters.py   seq_crumbs(Download)
from crumbs.seq import SeqWrapper, SeqItem
from crumbs.utils.tags import SEQITEM
from crumbs.bulk_filters import (filter_duplicates, _read_pairs,
                                 _seqitem_pairs_equal)
from crumbs.utils.bin_utils import BIN_DIR
    filter_duplicates([in_fhand], out_fhand, paired_reads, n_seqs_packet)
    flush_fhand(out_fhand)
    filtered_pairs = list(_read_pairs([open(out_fhand.name)],
                                      paired_reads))
    fastq_no_dups = FASTQ_NO_DUPS1 + FASTQ_NO_DUPS2 + FASTQ_NO_DUPS3
    expected_pairs = list(_read_pairs([StringIO(fastq_no_dups)],