Commit 4fd9d2d1 authored by Mikaël Salson's avatar Mikaël Salson
Browse files

vidjil-to-fasta.py: Make sure we always have a sample_name

This is used in the cloneDB.cgi to ensure unicity in a same sample
parent 38cded99
......@@ -192,6 +192,8 @@ def write_fuse_to_fasta(data, outfile, used_names, current_filename, options, me
additional_header_info.append('germline=%s'%clone.d['germline'])
if len(options.sample_name) > 0:
sample_name = eval(options.sample_name)
else:
sample_name = current_filename
additional_header_info.append('sample_name=%s' % sample_name)
if len(metadata) > 0:
......
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