I used Eggnog mapper to annotate several rockfish genomes and the output files have qstart and qend values for each gene.
I plan to use the phylogenetic trees for a few different genes for positive selection analyses using HyPhy. The data is whole scaffold level rockfish genomes pulled from NCBI. The output files from eggnog have something like 20000 genes but I only plan to use a few of those.
The first few lines of the eggnog output look like this:
##/home/user/anaconda3/envs/3.8env/bin/diamond blastx -d '/home/totorbanana/anaconda3/envs/3.8env/lib/python3.8/site-packages/data/eggnog_proteins.dmnd' -q '/home/totorbanana/Genomes/Mystinus.fna' --threads 1 -o '/home/user/Genomes/test.emapper.hits' --tmpdir '/home/user/Genomes/emappertmp_dmdn_ltcz8hno' --sensitive --iterate -e 0.001 --top 3 --outfmt 6 qseqid sseqid pident length mismatch gapopen qstart qend sstart send evalue bitscore qcovhsp scovhsp
#qseqid sseqid evalue bitscore qstart qend sstart send pident qcov scov
CAKANA010000013.1 215358.XP_010753781.1 1.14e-27 123.0 1020 844 1708 1766 89.8 16.0 2.1
CAKANA010000020.1 215358.XP_010753832.1 4.68e-292 854.0 1410 3083 1 558 79.8 31.0 100.0
What I am unsure of is how to use those qstart and qend values to extract the corresponding sequences and make a multiple sequence alignment with them.
If anybody could offer guidance/advice I would be very appreciative.