Dear,
I have encountered an issue when I use AmpliGone for Influenza A datasets.
The input FASTA file contains 8 separate segments which results in the following error when I run AmpliGone (v1.2.1):
File "/usr/local/bin/lmod/AmpliGone/1.2.1/venv/lib/python3.9/site-packages/AmpliGone/AmpliGone.py", line 260, in main primer_df = TP_PrimerLists.result() File "/usr/lib/python3.9/concurrent/futures/_base.py", line 446, in result return self.__get_result() File "/usr/lib/python3.9/concurrent/futures/_base.py", line 391, in __get_result raise self._exception File "/usr/lib/python3.9/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/bin/lmod/AmpliGone/1.2.1/venv/lib/python3.9/site-packages/AmpliGone/fasta2bed.py", line 69, in MakeCoordinateLists return pd.DataFrame( File "/usr/local/bin/lmod/AmpliGone/1.2.1/venv/lib/python3.9/site-packages/pandas/core/frame.py", line 774, in __init__ data = list(data) File "/usr/local/bin/lmod/AmpliGone/1.2.1/venv/lib/python3.9/site-packages/AmpliGone/fasta2bed.py", line 94, in CoordListGen ref_file = SeqIO.read(referencefile, "fasta") File "/usr/local/bin/lmod/AmpliGone/1.2.1/venv/lib/python3.9/site-packages/Bio/SeqIO/__init__.py", line 659, in read raise ValueError("More than one record found in handle") ValueError: More than one record found in handle
The command that I used:
ampligone --reference influenza_a-H3N2.fasta --primers primers.influenza_A.fasta --input sequences.fastq --output sequences_clipped.fastq --threads 4 --amplicon-type fragmented --error-rate 0.1
Would be it possible to resolve this issue?
I have obtained great results for SARS-CoV-2 with this tool.
Best regards,
Bert