Add a patch for chloroplast annotation when no inverted repeats are
detected Former-commit-id: 7e3ddd41cf0d0788223382fedbf45b183974233e Former-commit-id: e5a8ceb825f78d243e37d22cd6b2e91f403c0ee8
This commit is contained in:
@ -38,9 +38,16 @@ function lookForIR {
|
||||
|
||||
loginfo "Looking for long inverted repeats..."
|
||||
repseek -c -p 0.001 -i ${QUERY} 2>> /dev/null > ${REPEATS}
|
||||
loginfo " --> $(wc -l ${REPEATS} | awk '{print $1}') repeats identified"
|
||||
nrepeat="$(wc -l ${REPEATS} | awk '{print $1}')"
|
||||
loginfo "Done"
|
||||
|
||||
if (( nrepeat == 0 )) ; then
|
||||
logwarning "No inverted repeat identified"
|
||||
return 1
|
||||
fi
|
||||
|
||||
loginfo " --> ${nrepeat} repeats identified"
|
||||
|
||||
loginfo "Marking and selecting the best inverted repeat..."
|
||||
local IR=( $(${SELECTIR} ${MATCHES} ${REPEATS}) )
|
||||
loginfo "Done"
|
||||
|
Reference in New Issue
Block a user