Comments (3)
Hi Chris,
Yes you can! Even further, you may use the EDTA TEanno.gff3 file to calculate LAI if this is all you have. See this wiki:
https://github.com/oushujun/EDTA/wiki/Calculate-LAI-from-EDTA-GFF3-files
Best,
Shujun
from ltr_retriever.
I am follow the https ://github.com/oushujun/EDTA/wiki/Calculate-LAI-from-EDTA-GFF3-files to caculate the LAI.
But the LAI value is big more than 100.
I run the command like this:
##从EDTA的输出结果计算LAI
genome="genome.fa" #这个是用于EDTA计算的基因组文件的名称
EDTA_path="/share/home/chai/soft/EDTA" #EDTA的安装路径
LAI="/share/home/chai/soft/LTR_retriever/LTR_retriever/LAI" #LAI的绝对路径
threads=16
for genome in ${genome}; do perl ${EDTA_path}/util/gff2bed.pl $genome.mod.EDTA.TEanno.gff3 structural > $genome.mod.EDTA.TEanno.struc.bed ; done
for genome in ${genome}; do grep LTR $genome.mod.EDTA.TEanno.struc.bed|grep struc|awk '{print $1":"$2".."$3"\t"$7}' > $genome.mod.EDTA.TEanno.LTR.pass.list ; done
for genome in ${genome}; do perl -nle 'my ($chr, $s, $e, $anno, $dir, $supfam)=(split)[0,1,2,3,8,12]; print "10000 0.001 0.001 0.001 $chr $s $e NA $dir $anno $supfam"' $genome.mod.EDTA.TEanno.struc.bed > $genome.out.EDTA.TEanno.out ; done
for genome in ${genome}; do ${LAI} -genome $genome -intact $genome.mod.EDTA.TEanno.LTR.pass.list -all $genome.out.EDTA.TEanno.out -q -t ${threads} ; done
In the end ,The output info as follow:
######################################
### LTR Assembly Index (LAI) beta3.2 ###
######################################
Developer: Shujun Ou
Please cite:
Ou S., Chen J. and Jiang N. (2018). Assessing genome assembly quality using the LTR Assembly Index (LAI). Nucleic Acids Res. gky730: https://doi.org/10.1093/nar/gky730
Parameters: -genome genome.fa -intact genome.fa.mod.EDTA.TEanno.LTR.pass.list -all genome.fa.out.EDTA.TEanno.out -q -t 16
Tue Sep 5 09:02:15 CST 2023 Dependency checking: Passed!
Tue Sep 5 09:02:15 CST 2023 Calculation of LAI will be based on the whole genome.
Please use the -mono parameter if your genome is a recent ployploid, otherwise high identity between LTR homeologues will overcorrect raw LAI scores and result in low LAI.
Tue Sep 5 09:02:15 CST 2023 Estimate the identity of LTR sequences in the genome: quick mode
Warning: LOC list genome.fa.out.EDTA.TEanno.out.LAI.LTRlist is empty.
genome.fa.out.EDTA.TEanno.out.LAI.LTR.fa is empty, please check the genome.fa file and the genome.fa.out.EDTA.TEanno.out.LAI.LTRlist file
Tue Sep 5 09:02:16 CST 2023 The identity of LTR sequences: %
Argument "" isn't numeric in numeric lt (<) at /share/home/chai/soft/LTR_retriever/LAI line 143.
【Warning】 The identity drops below the safe limit. Instead, identity of 92% will be used for LAI adjustment.
Tue Sep 5 09:02:16 CST 2023 Calculate LAI:
Done!
Tue Sep 5 09:02:20 CST 2023 Result file: genome.fa.out.EDTA.TEanno.out.LAI
You may use either raw_LAI or LAI for intraspecific comparison
but please use ONLY LAI for interspecific comparison
The output file genome.fa.out.EDTA.TEanno.out.LAI.LTR.fa
and genome.fa.out.EDTA.TEanno.out.LAI.LTRlist
were empty.
and the LAI file LAI value is more than 100.
head genome.fa.out.EDTA.TEanno.out.LAI
whole_genome 1 118716139 0.0740 0.0740 100.00 105.63
A01 1 3000000 0.0350 0.0350 100.00 105.63
A01 300001 3300000 0.0368 0.0368 100.00 105.63
A01 600001 3600000 0.0452 0.0452 100.00 105.63
A01 900001 3900000 0.0454 0.0454 100.00 105.63
from ltr_retriever.
The total LTR estimation is incorrect. It appears that it only contains structural LTRs but it should also contain homology LTRs. Maybe you need to update your EDTA. I calculate on my end and it works.
Shujun
from ltr_retriever.
Related Issues (20)
- Invalid value for shared scalar HOT 10
- awk: fatal: cannot open file `genome.fa.mod.retriever.scn.extend.fa.rexdb.cls.tsv' for reading (No such file or directory) HOT 1
- awk: cannot open N02.fa.retriever.scn.extend.fa.rexdb.cls.tsv HOT 5
- ERROR: No candidate is found in the file(s) you specified. HOT 10
- LOC list New_genome.nextpolish.exceptChl.FINAL.fa.retriever.scn.full is empty HOT 3
- an error in Calculate LAI from EDTA HOT 2
- fa.mod.nmtf.pass.list is empty HOT 2
- LTR_retriever failed to generate a file - data passing in a multithreaded run HOT 2
- Are there any changes in Module 1 between versions 2.9.0 and 2.9.9? HOT 2
- cleanup.pl Bug? HOT 3
- same bug before about LTR.identifier.pl HOT 3
- A reviewer's comment related to the setting of mutaion rate HOT 2
- The LTR_retriever fails to identify LTRs with tandem repeats, such as Dasheng. HOT 3
- Dependency checker looking in wrong directory for makeblastdb HOT 1
- Assessing Chrysanthemum lavandulifolium genome assembly HOT 2
- Exploring the transposition profile of specific LTRs HOT 2
- LTR retriever is not compatible with RepeatModeler2 since v2.9.8? HOT 5
- Kimura2Paramter to ks value/Time HOT 2
- Calculated LAI is too large HOT 3
- LTR_retriever produce different result in different data combine ways
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ltr_retriever.