Exemple #1
0
 def output_selected_sequences(self, selectedSequences):
     outputFile = self.process_setup(selectedSequences,
                                     'SequenceWriter',
                                     suffix='fasta')
     if self.output_files_exist(output_file=outputFile):
         return outputFile
     copy_fasta_list(selectedSequences, outputFile)
     self.process_cleanup(output_file=outputFile)
     return outputFile
 def output_final_sequences( self, finalSequenceList ):
     outputFile = self.process_setup( finalSequenceList, 
                                     'SequenceWriter',
                                     suffix='fasta' )
     if self.output_files_exist(output_file=outputFile):
         return outputFile
     copy_fasta_list( finalSequenceList, outputFile )
     self.process_cleanup(output_file=outputFile)
     return outputFile
 def output_selected_sequences( self, selectedSequences ):
     outputFile = self.process_setup( selectedSequences,
                                     'SequenceWriter',
                                     suffix='fasta' )
     if self.output_files_exist(output_file=outputFile):
         return outputFile
     copy_fasta_list( selectedSequences, outputFile )
     self.process_cleanup(output_file=outputFile)
     return outputFile
Exemple #4
0
 def output_final_sequences(self, finalSequenceList):
     outputFile = self.process_setup(finalSequenceList,
                                     'SequenceWriter',
                                     suffix='fasta')
     if self.output_files_exist(output_file=outputFile):
         return outputFile
     copy_fasta_list(finalSequenceList, outputFile)
     self.process_cleanup(output_file=outputFile)
     return outputFile