Dear members,
I would like to filter my alignment to remove positions with more than 2 alleles. But I do not know how to configure maffilter
As you said in a previous answer Entropy is calculated based on the frequencies of each state, if i wan't only two states at each position could i use max_ent ?
How calculate max_ent?
Here is my script :
maf.filter= EntropyFilter( \
species=(xyl1199,xylco6c) \
window.size=1, \
input.file.compression=none, \
window.step=1 , \
max.ent=1 , \
max.pos=2 , \
missing_as_gap=yes , \
ignore_gaps=yes , \
compression=none , \
file=$(DATA)_filtered )
I appreciate any help on this.
Best regards
Karine