allows to change easiestly parameters
Former-commit-id: 8a6294012a853f94aba1443e4ac0056bdab3a0ac Former-commit-id: f1f4fa2d1bc86494aab643090e6b06724b2923e3
This commit is contained in:
@ -26,15 +26,16 @@ function lookForIR {
|
||||
-query ${QUERY} \
|
||||
-outfmt 6 \
|
||||
-max_target_seqs 10000 | \
|
||||
awk '($4 > 100) && ($3>80) { \
|
||||
SAME=(($7 < $8) && ($9 < $10)) || (($7 > $8) && ($9 > $10)); \
|
||||
if ($7 < $8) \
|
||||
{print substr($2,1,3),$7,$8,SAME} \
|
||||
else \
|
||||
{print substr($2,1,3),$8,$7,SAME}}' | \
|
||||
awk -v id_match=80 -v lmin=100 \
|
||||
'($4 > lmin) && (($3+0)>id_match) {
|
||||
SAME=(($7 < $8) && ($9 < $10)) || (($7 > $8) && ($9 > $10));
|
||||
if ($7 < $8)
|
||||
{print substr($2,1,3),$7,$8,SAME}
|
||||
else
|
||||
{print substr($2,1,3),$8,$7,SAME}
|
||||
}' | \
|
||||
sort -nk 2 > ${MATCHES}
|
||||
loginfo "Done"
|
||||
|
||||
loginfo "Done $(wc -l ${MATCHES} | awk '{print $1}') matches identified"
|
||||
|
||||
loginfo "Looking for long inverted repeats..."
|
||||
repseek -c -p 0.001 -i ${QUERY} 2>> /dev/null > ${REPEATS}
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
from math import lgamma
|
||||
@ -33,6 +33,7 @@ for line in data:
|
||||
if direction==0:
|
||||
direction=-1
|
||||
|
||||
|
||||
if end > chlorosize:
|
||||
extsize = end - chlorosize
|
||||
chloro['LSC'].extend([0] * extsize)
|
||||
|
Reference in New Issue
Block a user