<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def load_manual_sequence_file(self, ident, seq_file, copy_file=False, outdir=None, set_as_representative=False):
 """Load a manual sequence, given as a FASTA file and optionally set it as the representative sequence. Also store it in the sequences attribute. Args: ident (str):
 Sequence ID seq_file (str):
 Path to sequence FASTA file copy_file (bool):
 If the FASTA file should be copied to the protein's sequences folder or the ``outdir``, if protein folder has not been set outdir (str):
 Path to output directory set_as_representative (bool):
 If this sequence should be set as the representative one Returns: SeqProp: Sequence that was loaded into the ``sequences`` attribute """

        if copy_file:
            if not outdir:
                outdir = self.sequence_dir
                if not outdir:
                    raise ValueError('Output directory must be specified')
            shutil.copy(seq_file, outdir)
            seq_file = op.join(outdir, seq_file)

        manual_sequence = SeqProp(id=ident, sequence_path=seq_file, seq=None)
        self.sequences.append(manual_sequence)

        if set_as_representative:
            self.representative_sequence = manual_sequence

        return self.sequences.get_by_id(ident)