# HG changeset patch
# User bebatut
# Date 1461846972 14400
# Node ID 158642ce204ffd1f5fdb5ce91856aceba7009417
# Parent 01c2b74b3a21bf6cfb8b71e0a220141a2cca2fbc
planemo upload commit 0a1bbb0870f6b776175151d4bc818c5546731ca8-dirty
diff -r 01c2b74b3a21 -r 158642ce204f convert_extract_sequence_file.py
--- a/convert_extract_sequence_file.py Tue Apr 26 08:18:18 2016 -0400
+++ b/convert_extract_sequence_file.py Thu Apr 28 08:36:12 2016 -0400
@@ -42,7 +42,7 @@
return None
split_line = id_line[1:].split(' ')
seq_id = split_line[0]
- description = ' '.join(split_line[1:])
+ description = id_line[1:]
new_line = get_new_line(input_file, generate_error = False)
seq = ''
while new_line != None:
@@ -265,7 +265,7 @@
if args.custom_extraction_type == 'True':
to_extract = args.to_extract[1:-1].split(',')
with open(args.output_information, 'w') as output_information_file:
- output_information_file.write('\t'.join(to_extract) + '\n')
+ #output_information_file.write('\t'.join(to_extract) + '\n')
for record in self.conserved_records:
extracted_info = record.extract_information(to_extract)
string_info = [str(info) for info in extracted_info]
diff -r 01c2b74b3a21 -r 158642ce204f convert_extract_sequence_file.xml
--- a/convert_extract_sequence_file.xml Tue Apr 26 08:18:18 2016 -0400
+++ b/convert_extract_sequence_file.xml Thu Apr 28 08:36:12 2016 -0400
@@ -7,6 +7,7 @@
+
@@ -179,7 +180,7 @@
-
((sequence_file_format['extraction']['specific_extraction'] == "True" ))
diff -r 01c2b74b3a21 -r 158642ce204f test-data/information_lenght_fasta_output.txt
--- a/test-data/information_lenght_fasta_output.txt Tue Apr 26 08:18:18 2016 -0400
+++ b/test-data/information_lenght_fasta_output.txt Thu Apr 28 08:36:12 2016 -0400
@@ -1,4 +1,3 @@
-length
86
141
300