Closed francesco-ricci closed 2 years ago
Hi Francesco,
the file you shared looks OK to me. The contigs seem very short, but that's another topic. Is ProtHint running into errors?
The input in the example has only one contig, so maybe that's why the yaml appears "piled up".
Best, Tomas
Thanks for your help Tomas.
When I run the ProtHint pipeline, I get the error message in the attached file. The command nuseq_for_selected_genes.pl uses the .yaml file (generated through the command proteins_from_gtf.pl) at line 52, as highlighted in the error. That's one of the reasons why I thought that's was the problem.
Cheers Francesco
And when you test ProtHint on the example, do you get the same error?
yes, just tried same error.
Ok, this means that something is wrong with the installation of the YAML package. Did you install it with the following command or similarly?
cpan YAML
just tried again and it looks fine
That seems fine... Maybe try installing with conda (https://anaconda.org/bioconda/perl-yaml) and not as a super user.
Already tried, it doesn't work.
I actually get this error message when I try to install cpan without sudo.
Those are probably related, but I'm no expert at installing Perl packages :/
thanks for your help Tomas!
Fixed it!
I created another environment and reinstalled all the dependencies from scratches and now it works.
Hello,
I am trying to use the prothint pipeline and one of the commands used in it (proteins_from_gtf.pl) does not produce a .yaml file as reported in the example folder. I am not skilled in perl but I think there is a problem with the code and I was wondering if you guys could please fix it.
I am attaching a screenshot of my output gene_stat.yaml file. As you can see the contigs code and info are not piled up one after the other, but the produced file has first all the contigs dodes and then all the contigs info.
Thanks Francesco