Thanks for the reply.
As for the error message, it is “AttributeError: ‘NoneType’ object has no attribute ‘serialize’”
The full log is bellow:
Job Execution and Failure Information
Command Line
cat ‘/data/dnb10/galaxy_db/files/f/b/a/dataset_fbafdc58-ecb9-4525-a8dc-a52f3a6e38fd.dat’ | fastq_to_fasta -n -v > ‘/data/jwd05e/main/078/947/78947242/outputs/dataset_91665f17-bf94-428f-8466-4cb166847ab7.dat’
stderr
stdout
Job Information
‘NoneType’ object has no attribute ‘serialize’
Job Traceback
Traceback (most recent call last):
File “/opt/galaxy/server/lib/galaxy/jobs/runners/init.py”, line 304, in prepare_job
job_wrapper.runner_command_line = self.build_command_line(
^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/galaxy/server/lib/galaxy/jobs/runners/init.py”, line 343, in build_command_line
return build_command(
^^^^^^^^^^^^^^
File “/opt/galaxy/server/lib/galaxy/jobs/command_factory.py”, line 167, in build_command
__handle_metadata(commands_builder, job_wrapper, runner, remote_command_params)
File “/opt/galaxy/server/lib/galaxy/jobs/command_factory.py”, line 273, in __handle_metadata
job_wrapper.setup_external_metadata(
File “/opt/galaxy/server/lib/galaxy/jobs/init.py”, line 2345, in setup_external_metadata
command = self.external_output_metadata.setup_external_metadata(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/galaxy/server/lib/galaxy/metadata/init.py”, line 295, in setup_external_metadata
command = super().setup_external_metadata(datasets_dict, out_collections, sa_session, **kwd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/galaxy/server/lib/galaxy/metadata/init.py”, line 214, in setup_external_metadata
with DirectoryModelExportStore(
File “/opt/galaxy/server/lib/galaxy/model/store/init.py”, line 2485, in exit
self._finalize()
File “/opt/galaxy/server/lib/galaxy/model/store/init.py”, line 2368, in _finalize
collections_attrs_out.write(to_json(self.included_collections.values()))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/galaxy/server/lib/galaxy/model/store/init.py”, line 2349, in to_json
return json_encoder.encode([a.serialize(self.security, self.serialization_options) for a in attributes])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/galaxy/server/lib/galaxy/model/store/init.py”, line 2349, in
return json_encoder.encode([a.serialize(self.security, self.serialization_options) for a in attributes])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/galaxy/server/lib/galaxy/model/init.py”, line 472, in serialize
return self._serialize(id_encoder, serialization_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/galaxy/server/lib/galaxy/model/init.py”, line 7243, in _serialize
collection=self.collection.serialize(id_encoder, serialization_options),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/galaxy/server/lib/galaxy/model/init.py”, line 472, in serialize
return self._serialize(id_encoder, serialization_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/galaxy/server/lib/galaxy/model/init.py”, line 6952, in _serialize
elements=[e.serialize(id_encoder, serialization_options) for e in self.elements],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/galaxy/server/lib/galaxy/model/init.py”, line 6952, in
elements=[e.serialize(id_encoder, serialization_options) for e in self.elements],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/galaxy/server/lib/galaxy/model/init.py”, line 472, in serialize
return self._serialize(id_encoder, serialization_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/opt/galaxy/server/lib/galaxy/model/init.py”, line 7636, in _serialize
rval[“child_collection”] = element_obj.serialize(id_encoder, serialization_options)
^^^^^^^^^^^^^^^^^^^^^
AttributeError: ‘NoneType’ object has no attribute ‘serialize’
As I tried the workflow without fastq groomer and ended up in the same error, I added it cause I figure it might solve the problem, but it didn’t.
I will paste here the header of one of the sequences output
ab1 to FASTQ converter
@baixa_qualidade
TWKKWTTTTTCTTTTCATGTTTGGGTTTTTGTGCTTTTTTTTATCTTTTAATGCGTTTAGCTTTGGTTGACTTATGCTTTTATATTCTGGATATTATTAATTATGTACTTTACTGCTGTTAATGATTTTTTTTTTGAKGCCTTTWAWAAGGGGGTTACWAAYCTTTTATTCTTTAGTTTCTTTATTGAATGKGTTACCYCGATWAWAATTACTTTTGATAWATTTTTCTTTAAATTCKGTAGYCCCTTTTTTATTCGACTTCTTKGKTGAYTTAAYCYCCTATCTCTACKGYAKGTATTYYACGTTATAWWTTTCTTAWTTGSKGGSTCTCWWWTGCTCATATTWAAKWAYGTTTGATACTTTATTCTATTTCTTTTCAAYCTTATWWAGTGYCAWGCGAKTTTATATAWTCTACKGTARCRCSYAAWWGWATATGACKATTTCACTCTTTTAAATATAGGKASYTATAWYAMTTATTTGTTTTGKCMCKAKT
+baixa_qualidade
&“”“”&&&(&&&(&&(&(&)-961VVOW8+@72[VVVG1+01/+?111,//=4YWGG9>C,1++*2/+2A:9T-+0,011+6+0++(,/(+‘++,0+12.1[510161,6+,0-+26+11R[[<@;300".10:R=":"6–4//..-&"0:"71;1,’(+&)(()(-()(.+&+,1)(“.0++/6”:52)“9"2-1--7/)(“+,-+62:=8…))((+”-)(”,(+/.333/+1).)++/++)(“.”,2"2-)'">"473,3)+,““+”‘’.“”)+.-)((”“>L01…”,(3"“,(”)),-“”“+,1/-“+.”“0”,);0/())&.)),±&(=-?,?+(((,“30))2"”),+")",((”+.-,),“(-02",)”)“(”“+“””),)((2"-07,(,40,/-)(-+)**(&“&”“%$))”“(”$,%(.‘’“*”&“(”$
seqtk_trimfq output
@baixa_qualidade
GGTTTTTGTGCTTTTTTTTATCTTTTAATGCGTTTAGCTT
+
961VVOW8+@72[VVVG1+01/+?111,//=4YWGG9>C
This was a poor quality sequence that’s why it shortened a lot, but other sequences are high quality
The output of seqtk_trimfq is green to the tools seems to be working
Running “extract element identifiers” on the seqtk_trimfq output results in the four sequences I was using to test the workflow
baixa_qualidade.ab1
boa_qualidade.ab1
boa_qualidade2.ab1
media_qualidade.ab1
I am also reving troubles adjusting the workflow. My objective was to filter ab1 sequences, than map/align the reverse primer to it to it is easier to remove primer sequences. I figure that the last workflow didn’t have a reverse complement step so I added it but now I cant concatenate the primer with the sequences in the workflow, it does not allow to connect the steps, but prior it was working fine.