Closed rjandr closed 3 years ago
@Zjianglin Moving this into a separate issue.
ScanFold allows "N" but the underlying algorithm will effectively ignore the nucleotide as a potential pairing partner. You can replace degenerate nucleotides with "N" and ScanFold will run ONLY using mononucleotide shuffling (--type mono; on by default). Currently, the dinucleotide shuffling algorithm can not handle degenerate bases.
From @Zjianglin :
ScanFold
can not processdegenerate bases
. For example,M=A+C, K=G+T
。 When I run ScanFold with a sequences containingdegenerate bases
as input, it raised a KeyError.There is a
K
in my sequence, but ScanFold failed to run. What should I do for this phenomenon? After all, many sequences have degenerate bases orN
bases.Originally posted by @Zjianglin in https://github.com/moss-lab/ScanFold/issues/16#issuecomment-900720685