Skip to content
Snippets Groups Projects
Commit 2a8e2fc8 authored by Dillenn Terumalai's avatar Dillenn Terumalai :speech_balloon:
Browse files

Merge branch 'dev' into 'main'

Updated path of temporary files for alignment

See merge request !5
parents 722a7d0e d7083457
Branches
Tags v1.0.5
1 merge request!5Updated path of temporary files for alignment
#!/usr/bin/env python
# coding: utf-8
tool_version = '1.0.4'
tool_version = '1.0.5'
import platform
import argparse
......@@ -205,8 +205,8 @@ def correct_alignement_to_the_right(ref_seq, target_seq):
def align_pairwise(ref_seq, target_seq, path_to_alignment_tool):
input_fasta = "input_fasta_tmp.fasta"
output_fasta = "output_fasta_tmp.fasta"
input_fasta = os.path.join('/tmp', 'input_fasta_tmp.fasta')
output_fasta = os.path.join('/tmp', 'output_fasta_tmp.fasta')
cmd = (path_to_alignment_tool, "-align", input_fasta, "-output", output_fasta)
seq_ref_record = SeqRecord(ref_seq, id="ref_seq", description="ref_seq")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment