In this study, we identified the genome sequence of the novel virus Pistacia-associated flexivirus 1 (PAFV1), a putative member of the mycovirus family Gammaflexiviridae (the order Tymovirales), via analysis of a transcriptome dataset for the mastic tree (Pistacia lentiscus, the family Anacardiaceae). PAFV1 was predicted to have three open reading frames (ORFs): ORF1, encoding a replicase (REP) with RNA-dependent RNA polymerase activity; ORF2, a movement protein (MP); and ORF3, a hypothetical protein. The PAFV1 REP sequence showed high similarity to those of three known members of the family Gammaflexiviridae i.e., Entoleuca gammaflexivirus 1 (EnFV1), Entoleuca gammaflexivirus 2 (EnFV2), and Botrytis virus F (BVF). A genome contig of the fungus Monosporascus cannonballus also contained a sequence of an endogenous virus similar to that of PAFV1. Sequence comparison and phylogenetic analysis indicated that PAFV1, EnFV1, and the endogenous virus of M. cannonballus formed a distinct subgroup (apart from EnFV2 and BVF), and may be the founding members of a novel genus in the family Gammaflexiviridae. Notably, MP sequences of PAFV1/EnFV1 showed similarity to the MP sequences of the mycovirus group called tobamo-like mycoviruses (an unassigned taxon), implying that genomic recombination occurred between members of the family Gammaflexiviridae and tobamo-like mycoviruses. Since PAFV1 is phylogenetically related to mycoviruses, PAFV1 may also be a mycovirus that infected a fungus associated with the mastic tree sample, which is evidenced by the presence of fungal ribosomal RNA sequences in the mastic tree transcriptome. Thus, the PAFV1 genome sequence may be useful in elucidating the genome evolution of Gammaflexiviridae and tobamo-like mycoviruses. Keywords: Pistacia-associated flexivirus 1; Gammaflexiviridae; mycovirus, mastic tree.