oushujun / LTR_retriever

LTR_retriever is a highly accurate and sensitive program for identification of LTR retrotransposons; The LTR Assembly Index (LAI) is also included in this package.
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5813529/
GNU General Public License v3.0
179 stars 40 forks source link

substr outside of string #6

Closed sahammond closed 7 years ago

sahammond commented 7 years ago

Hi, I've been having some trouble running LTR_retriever on my genome. I get the error noted below hundreds of thousands of times in my log, and no LTRs end up being identified.

Thu Jul 13 17:37:31 PDT 2017 Start to convert inputs... substr outside of string at /projects/btl/shammond/git/LTR_retriever/bin/call_seq_by_list.pl line 120. Use of uninitialized value $seq in string eq at /projects/btl/shammond/git/LTR_retriever/bin/call_seq_by_list.pl line 121.

I supplied predictions from LTRharvest, both TGCA and non-TGCA, and LTRfinder.

Also, I don't know if it's related to the above, but I see some unexpected sequences in my nmtf.ltrTE.fa file, such as blank or all-N sequences.

Could there be a problem with my input?

oushujun commented 7 years ago

Hi,

Seems like the problem was from the inputs. Could you double check the supplied genome? See if sequence names are in a simple format (short, un-spaced, no special characters) and if the genome is the same with the one you used to obtain LTR candidates (it happens when you have multiple assembly practices).

Another thing you can try is to supply input files separately. For example, just run with the TGCA input, then add non-TGCA, or run with the finder input, then add them all up. This will help to locate where the problem is.

If you could not find anything wrong, can you email me your prediction files?

Thanks! Shujun

sahammond commented 7 years ago

Hi Shujun,

My LTR candidates were obtained from an older version of the genome. I'm running LTR_retriever now with the matched assembly and everything seems to be going fine.

Thanks! Austin