Commit 90bff383 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files

scripts/ list of sequence files by patient, ready to be linked

parent 37656f88
import defs
import datetime
patient_id = 10
our_id = 0
for res in db( == db.sequence_file.patient_id).select():
our_id += 1
print "ln -s %s/%-20s %5s.fa" % (defs.DIR_SEQUENCES, res.sequence_file.data_file, our_id),
print "\t", "# seq-%04d" %, "%-20s" % res.sequence_file.filename,
print "\t", "# pat-%04d (%s %s)" % (, res.patient.first_name, res.patient.last_name)
sudo -u www-data python ../../../ -S vidjil -M -R applications/vidjil/scripts//
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