Thanks for your answer! Yet, I'm still confused. I don't understand why "--allow-extra-chr" doesn't work, as it should just ignore the chromosome-ID, no? At least in plink1.9, it seems to work fine but no longer for plink2.0.
Also, I'm not sure how I should correctly use the "--chr-set" flag. The description is rather cryptic to me. How do I use this flag if I wanted to specify that the data I'm using is WGS-snp data set from a non-human species from 20 autosomes? And what would I' need to do if I wanted to additionally just run plink2 for all those autosomes plus the two known sex chromosomes in my species (the sex chromosomes are named "chrY" and "chrXIX" in my species)?
Thanks again for your help!