I would like to create a phylogenetic tree for the most species in my dataset.
I'm starting with around 1200 species, but since it's not good practice to align short and long sequences I tried filtering only for the species with the [15k-18k bp] range in length, but this leaves me with around 350 species in total.
Those sequences vary a lot in size, here's an histogram of the number of species I have data for
As you can see I have a lot of sequences with length [12k-15k bp] and [15k-18k bp] (values on the x axis are scaled by a factor of 3000 and then rounded).
I would like maximise the species genetic information.
To do so I would like to extract the part of genome that is shared the most among all the species.
Is this achievable by using a regex?
I am not sure on the length and type of the query to be sure of not extracting non-homologous regions as it would create a big problem later on for the phylogenetic tree creation.
I can't make an alignment for all species because of the lack of computational power. That is why I'm trying to subset a piece of DNA that is the most shared (prior to the alignment, but I don't know if that is doable or logic)
My question is: how would you proceed to get the most phylogenetic data out of this dataset?
If you would use a regex, what type of query would you use?
More Info
Alignment
When I try to align 10 sequences drawn from the [15k-18k bp] range I get this result (the numbers on the right are the TaxID of the species).
We can't see much here so I used an online MSA viewer
[https://alignmentviewer.org/]
Data
My data is one Fasta file containing mitochondrial genomes for all the species.
To do this preliminary analysis I only used 10 randomly chosen species with a sequence of length in the range [15k-18k bp].