Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converting to GFF3 Format fails #3

Open
Ghanizadeh1980 opened this issue Oct 25, 2022 · 8 comments
Open

Converting to GFF3 Format fails #3

Ghanizadeh1980 opened this issue Oct 25, 2022 · 8 comments

Comments

@Ghanizadeh1980
Copy link

Hi Brian,

I have followed the steps outlined in "https://evidencemodeler.github.io/", however, when I execute the command "convert_EVM_outputs_to_GFF3.pl", this error message pops up:

// Processing contig_11083, /home/dieter/EVidenceModeler-1.1.1/EvmUtils/contig_11083
Error, cannot open /home/dieter/EVidenceModeler-1.1.1/EvmUtils/contig_11083/evm.out
Error, cmd /home/dieter/EVidenceModeler-1.1.1/EvmUtils/EVM_to_GFF3.pl /home/dieter/EVidenceModeler-1.1.1/EvmUtils/contig_11083/evm.out contig_11083 > /home/dieter/EVidenceModeler-1.1.1/EvmUtils/contig_11083/evm.out.gff3 died with ret 512 at ./convert_EVM_outputs_to_GFF3.pl line 64.

The EMV.out.log file corresponding to contig_11083 says :
"-successfully changed directories to /home/dieter/EVidenceModeler-1.1.1/EvmUtils/contig_11083

-reading genomic sequence.

** Processing features (+)

-finding all potential splice sites, looking for GT/GC donors and AG acceptors.
-finding all potential starts and stops. (strand: +)
-loading gene prediction evidence. (strand: +)
-loading the search evidence (protein and EST search results, strand: +)
-scoring exons (strand: +)

** Processing features (-)

-finding all potential splice sites, looking for GT/GC donors and AG acceptors.
-finding all potential starts and stops. (strand: -)
-loading gene prediction evidence. (strand: -)
-loading the search evidence (protein and EST search results, strand: -)
-scoring exons (strand: -) -no exons in range 1 - 17347"

Can you please help me with this? Thanks.

Cheers,

Hossein.

@brianjohnhaas
Copy link
Contributor

brianjohnhaas commented Oct 25, 2022 via email

@Ghanizadeh1980
Copy link
Author

Hi Brian,

Thanks for your reply. There is an empty output in the folder corresponding to that contig. I followed your instruction, and now I get the same error for another contig (see below , please):
"./convert_EVM_outputs_to_GFF3.pl --partitions /home/dieter/GB/partitions_list.out --output evm.out --genome /home/dieter/GB/medaka/consensus.fasta
// Processing contig_10017, /home/dieter/EVidenceModeler-1.1.1/EvmUtils/contig_10017
Error, cannot open /home/dieter/EVidenceModeler-1.1.1/EvmUtils/contig_10017/evm.out
Error, cmd /home/dieter/EVidenceModeler-1.1.1/EvmUtils/EVM_to_GFF3.pl /home/dieter/EVidenceModeler-1.1.1/EvmUtils/contig_10017/evm.out contig_10017 > /home/dieter/EVidenceModeler-1.1.1/EvmUtils/contig_10017/evm.out.gff3 died with ret 512 at ./convert_EVM_outputs_to_GFF3.pl line 64."

If I repeatedly execute the command, I end up with the same error message for some other contigs with no exons. There is also an empty output in the folder corresponding to the contigs with no exons.

Could this be a bug?

Cheers,

Hossein.

@brianjohnhaas
Copy link
Contributor

brianjohnhaas commented Oct 25, 2022 via email

@Ghanizadeh1980
Copy link
Author

Below is the log for the contig_10017 as an example. I assume a "zero" means success and the command completed successfully.

#18062 0 /home/dieter/EVidenceModeler-1.1.1/EvmUtils/.././evidence_modeler.pl -G consensus.fasta -g newGB2.gff3 -w /home/dieter/GB/weight.txt -e GBPASA.gff3 --exec_dir /home/dieter/EVidenceModeler-1.1.1/EvmUtils/contig_10017 > /home/dieter/EVidenceModeler-1.1.1/EvmUtils/contig_10017/EVM.out 2> /home/dieter/EVidenceModeler-1.1.1/EvmUtils/contig_10017/EVM.out.log

@brianjohnhaas
Copy link
Contributor

brianjohnhaas commented Oct 25, 2022 via email

@Ghanizadeh1980
Copy link
Author

The file is not missing, but it is empty. Can you please take a look at my commands and let me know if anything is missing?

./partition_EVM_inputs.pl --genome /home/dieter/GB/medaka/consensus.fasta --gene_predictions /home/dieter/GB/GFF/newGB2.gff3 --transcript_alignments /home/dieter/GB/PASA/GBPASA.gff3 --segmentSize 1000000 --overlapSize 200000 --partition_listing /home/dieter/GB/partitions_list.out

./write_EVM_commands.pl --genome /home/dieter/GB/repeatmasker1/consensus.fasta --weights /home/dieter/GB/weight.txt --gene_predictions /home/dieter/GB/GFF/newGB2.gff3 --transcript_alignments /home/dieter/GB/PASA/GBPASA.gff3 --output_file_name EVM.out --partitions /home/dieter/GB/partitions_list.out > /home/dieter/GB/GBEvidencemodeller/GBnanocommands.list

./execute_EVM_commands.pl /home/dieter/GB/GBEvidencemodeller/GBnanocommands.list | tee run.log

./recombine_EVM_partial_outputs.pl --output_file_name EVM.out --partitions /home/dieter/GB/partitions_list.out

./convert_EVM_outputs_to_GFF3.pl --partitions /home/dieter/GB/partitions_list.out --output evm.out --genome /home/dieter/GB/medaka/consensus.fasta

@Ghanizadeh1980
Copy link
Author

Aha, I fixed it. It was a foolish mistake. the "--output" option in the last command line, and it should read "--output EVM.out". Sorry for that.

Thanks, Brian.

@brianjohnhaas
Copy link
Contributor

brianjohnhaas commented Oct 25, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants