Commit 72c6ab69 authored by Mikaël Salson's avatar Mikaël Salson

ncbi.py, split-from-imgt.py: Remove useless parameter

parent 2a7cd0c6
Pipeline #32634 passed with stages
in 49 seconds
......@@ -41,7 +41,7 @@ def ncbi_and_write(ncbi, additional_header, outs):
for out in outs:
out.write(fasta_with_id)
def get_updownstream_sequences(gene, other_gene_name, start, end, additional_length):
def get_updownstream_sequences(gene, start, end, additional_length):
'''
Only returns upstream or downstream raw sequences
......
......@@ -132,7 +132,7 @@ def retrieve_genes(f, genes, tag, additional_length, gene_list):
gene_id = None
# extract from gene
gene_data = ncbi.get_gene_sequence(gene, coord['imgt_data'] + tag, coord['from'], coord['to'], allele_additional_length)
gene_data = ncbi.get_gene_sequence(gene, 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)
......
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