Commit eb9ceaa0 authored by Mikaël Salson's avatar Mikaël Salson

split-from-imgt.py: Fix 72c6ab69

parent d6049b38
Pipeline #32742 failed with stages
in 4 seconds
......@@ -132,10 +132,10 @@ def retrieve_genes(f, genes, tag, additional_length, gene_list):
gene_id = None
# extract from gene
gene_data = ncbi.get_gene_sequence(gene, coord['from'], coord['to'], allele_additional_length)
gene_data = ncbi.get_gene_sequence(gene, coord['imgt_data'] + tag, coord['from'], coord['to'], allele_additional_length)
if gene_id:
up_down = ncbi.get_updownstream_sequences(target, coord['imgt_data'] + tag, start, end, additional_length)
up_down = ncbi.get_updownstream_sequences(target, start, end, additional_length)
# We put the up and downstream data before and after the sequence we retrieved previously
gene_data = paste_updown_on_fasta(gene_data, up_down[0], up_down[1])
......
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