However, when running I am still getting the same error.
(ref_creation) swyka@taxon-pipeline:~/references/2020-09-10_updates$ clipkit EOG09261EM7.fasta -o EOG09261EM7_trimmed.fasta
Traceback (most recent call last):
File "/home/swyka/miniconda3/envs/ref_creation/bin/clipkit", line 8, in <module>
sys.exit(main())
File "/home/swyka/miniconda3/envs/ref_creation/lib/python3.6/site-packages/clipkit/clipkit.py", line 111, in main
execute(**process_args(args))
File "/home/swyka/miniconda3/envs/ref_creation/lib/python3.6/site-packages/clipkit/clipkit.py", line 59, in execute
input_file, file_format=input_file_format
File "/home/swyka/miniconda3/envs/ref_creation/lib/python3.6/site-packages/clipkit/files.py", line 49, in get_alignment_and_format
raise Exception("Input file could not be read")
Exception: Input file could not be read
Although, when I try to force the file format -if fasta I get a slightly different error.
(ref_creation) swyka@taxon-pipeline:~/references/2020-09-10_updates$ clipkit EOG09261EM7.fasta -o EOG09261EM7_trimmed.fasta -if fasta
Traceback (most recent call last):
File "/home/swyka/miniconda3/envs/ref_creation/bin/clipkit", line 8, in <module>
sys.exit(main())
File "/home/swyka/miniconda3/envs/ref_creation/lib/python3.6/site-packages/clipkit/clipkit.py", line 111, in main
execute(**process_args(args))
File "/home/swyka/miniconda3/envs/ref_creation/lib/python3.6/site-packages/clipkit/clipkit.py", line 59, in execute
input_file, file_format=input_file_format
File "/home/swyka/miniconda3/envs/ref_creation/lib/python3.6/site-packages/clipkit/files.py", line 34, in get_alignment_and_format
alignment = AlignIO.read(open(inFile), file_format.value)
AttributeError: 'str' object has no attribute 'value'
Hello,
I used
pip install clipkit
to install and am using clipkit v0.1.I was initially getting an error that the input file cannot be read, so I altered all files to
chmod 777
just to be sure that wasn't an issue.However, when running I am still getting the same error.
Although, when I try to force the file format
-if fasta
I get a slightly different error.This is the
head
of my fasta file, for reference.