| Previous changeset 2:000dbfafe31d (2025-06-30) |
|
Commit message:
planemo upload for repository https://github.com/abims-sbr/adaptsearch commit ee0948efcef5f8732f7f32ce37a8127d891d0c64 |
|
modified:
filter_assembly.xml scripts/S01_script_to_choose.py |
| b |
| diff -r 000dbfafe31d -r faadbce1bbd2 filter_assembly.xml --- a/filter_assembly.xml Mon Jun 30 12:23:02 2025 +0000 +++ b/filter_assembly.xml Thu Sep 11 08:27:22 2025 +0000 |
| b |
| @@ -1,4 +1,4 @@ -<tool name="Filter assemblies" id="filter_assemblies" version="2.0.5"> +<tool name="Filter assemblies" id="filter_assemblies" version="2.0.6"> <description> Filter the outputs of Spades, Velvet or Trinity assemblies |
| b |
| diff -r 000dbfafe31d -r faadbce1bbd2 scripts/S01_script_to_choose.py --- a/scripts/S01_script_to_choose.py Mon Jun 30 12:23:02 2025 +0000 +++ b/scripts/S01_script_to_choose.py Thu Sep 11 08:27:22 2025 +0000 |
| b |
| @@ -5,6 +5,7 @@ from Bio import SeqIO + def fasta_formatter(input_file, output_file): """ Reformats the input FASTA file to ensure that sequences @@ -26,6 +27,7 @@ if sequence: outfile.write(sequence + '\n') + def reformat_headers(input_file, output_file, prefix): """ Reformats the headers of the FASTA records by adding a specified prefix @@ -76,6 +78,7 @@ # Write output file with new headers SeqIO.write(modified_sequences, output_fasta, "fasta") + def main(): if len(sys.argv) < 5: print( @@ -156,5 +159,6 @@ os.remove(cap_contigs_file) os.remove(name_fasta_final) + if __name__ == "__main__": main() |