brainstorm/DRASS — pull request #1 by tzcoolman (2012-08-28 12:10:26+00:00)
Title: No.9-1

mkdir -p tests/data
test -s tests/data/ecoli_K12.fasta||wget http://togows.dbcls.jp/entry/ncbi-nucleotide/U00096.2.fasta -O tests/data/ecoli_K12.fasta
./tests/fastq_dummy.py 50 tests/data/ecoli_dummy.fastq
./bloom_build -r tests/data/ecoli_K12.fasta -o tests/data/ecoli.bloom
capacity->4706042
Vector size->67976171
ideal hashes->10
error_rate->0.000500
bloom_init(67976171,10) => (67976171,10) =>0.000500
real size->8497021
program_path->./bloom_build
here
target->./bloom_build
bloom name->tests/data/ecoli.bloom
big file process OK
all finished...
total=11 sec
Same K_mer->143816
,New K_mer->4562119
./simple_check -m 1 -q tests/data/ecoli_dummy.fastq -r tests/data/ecoli.bloom
Mode :
The argument of -m is 1
Query :
The argument of -q is tests/data/ecoli_dummy.fastq
Bloom list :
The argument of -l is tests/data/ecoli.bloom
distributing...
task->1555
bloom name->tests/data/ecoli.bloom
successful bloom read...
fastq processing...
fastq processing...
fastq processing...
fastq processing...
fastq processing...
fastq processing...
fastq processing...
fastq processing...
XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
finish processing...
all->51
contam->1
contamination rate->0.019608
filename->tests/data/ecoli_dummy.fastq
bloom name->tests/data/ecoli_dummy.info
total=0 sec

Heres the result that you want it...