MAJ terminée. Nous sommes passés en version 14.6.2 . Pour consulter les "releases notes" associées c'est ici :

Commit 08182493 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files creates .fa files with some special sequences

Dd2 and Dd3 may play interesting roles.
parent 3ac7ab5e
......@@ -8,12 +8,22 @@ import sys
open_files = {}
current_file = None
# Create isolated files for some sequences
for l in sys.stdin:
if ">" in l:
current_file = None
current_special = None
if "Homo sapiens" in l and ("V-REGION" in l or "D-REGION" in l or "J-REGION" in l):
system = l.split('|')[1][:4]
seq = l.split('|')[1]
system = seq[:4]
if system.startswith('IG') or system.startswith('TR'):
if system in open_files:
......@@ -24,9 +34,15 @@ for l in sys.stdin:
current_file = open(name, 'w')
open_files[system] = current_file
name = '%s.fa' % seq.replace('*', '-')
print " ==>", name
current_special = open(name, 'w')
if current_file:
if current_special:
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