verkkofillet.tl.flipContig

Contents

verkkofillet.tl.flipContig#

verkkofillet.tl.flipContig(filp_contig_list, ori_fasta='assembly.fasta', final_fasta=None)[source]#

Flip the sequences in a FASTA file based on the provided list of contigs.

Parameters:
  • filp_contig_list – The list of contigs to be flipped.

  • ori_fasta – The path to the original FASTA file. Default is “assembly.fasta”.

  • final_fasta – The path to save the flipped FASTA file. If None, it will be generated with a suffix of “_flip.fasta”.

Returns:

final_fasta