Commit eaf91785 authored by Mathieu Giraud's avatar Mathieu Giraud

generate-recombinations.py: random.seed() to have more reproducible results

parent b9a44cd9
......@@ -5,6 +5,8 @@ import json
import fasta
import random
random.seed(33328778554)
def recombine_VJ(seq5, remove5, N, remove3, seq3):
name = "%s %d/%s/%d %s" % (seq5.name, remove5, N, remove3, seq3.name)
seq = seq5.seq[:len(seq5)-remove5] + '\n' + N + '\n' + seq3.seq[remove3:]
......
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