A new set of protein cleaned for the CDS detector prepared using the
clusterizecore.sh script from the detectors/cds/lib folder. The CDS detector is now modified to use the clean.fst files. Former-commit-id: e30a53b5b6b658388af4b2640b30e6765c729894 Former-commit-id: 3015ad50d25248fb117ab00e816b00fde1f9ba1d
This commit is contained in:
@ -129,11 +129,13 @@ function fasta1line {
|
||||
}
|
||||
|
||||
function formatfasta {
|
||||
$AwkCmd 'function printfasta(seq) { \
|
||||
$AwkCmd 'function printfasta(seq) { \
|
||||
seqlen=length(seq); \
|
||||
for (i=1; i <= seqlen; i+=60) \
|
||||
print substr(seq,i,60); \
|
||||
} \
|
||||
(seq && /^>/) { printfasta(seq); \
|
||||
seq=""} \
|
||||
/^>/ { print $0 } \
|
||||
! /^>/ { seq=seq $0 } \
|
||||
END { printfasta(seq)}' "${1}"
|
||||
|
Reference in New Issue
Block a user