Skip to content
Snippets Groups Projects
Commit 29868d56 authored by Venkat Malladi's avatar Venkat Malladi
Browse files

Add in correct shuffle step.

parent 81054b5c
No related merge requests found
...@@ -142,7 +142,7 @@ def self_psuedoreplication(tag_file, prefix, paired): ...@@ -142,7 +142,7 @@ def self_psuedoreplication(tag_file, prefix, paired):
out, err = utils.run_pipe([ out, err = utils.run_pipe([
'gzip -dc %s' % (tag_file), 'gzip -dc %s' % (tag_file),
'shuf --random-source=%s' % (tag_file), 'shuf --random-source=<(openssl enc -aes-256-ctr -pass pass:$(zcat -f %s | wc -c) -nosalt </dev/zero 2>/dev/null)' % (tag_file),
'split -d -l %d - %s' % (lines_per_rep, splits_prefix)]) 'split -d -l %d - %s' % (lines_per_rep, splits_prefix)])
# Convert read pairs to reads into standard tagAlign file # Convert read pairs to reads into standard tagAlign file
......
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