我看只是警告,你检查输出文件,打开看看是不是有正确输出;
$species.ksd $species.dmd 等输出文件;
[root@9322d8219ac0 23:06:38 /work/07.2.wgd_kaks]# for species in Baetis_atlanticus Baetis_rhodani Cloeon_dipterum Ecdyonurus_torrentis Epeorus_assimilis Ephemera_orientalis Ephemera_vulgata Parafronurus_youi Procloeon_bifidum Rhithrogena_elasmaris Serratella_ignita Siphlonurus_alternatus;do > > ## diamond比对并进行MCL聚类 > wgd dmd -e 1e-10 --nostrictcds -o $species.dmd $species.cds > > ## 直接计算Ks值,可能存在近期复制基因对,如串联重复基因等 > wgd ksd --n_threads 70 -mp 1000 -o $species.ksd $species.dmd/$species.cds.mcl $species.cds > > ## 提取共线性基因对Ks值 > wgd syn -o $species.syn -ks $species.ksd/$species.cds.ks.tsv -f gene -a ID $species.gff3 $species.dmd/$species.cds.mcl > > #准备绘图需要的ks文件 > > cut -f 9 $species.ksd/$species.cds.ks.tsv |awk 'BEGIN{OFS="\t"}NR>1{print $1,"'$species'"}' >$species.paralog.ks > cut -f 9 $species.syn/$species.cds.mcl.ks_anchors.tsv |awk 'BEGIN{OFS="\t"}NR>1{print $1,"'$species' syn"}' >$species.syn.paralog.ks > > done 2026-11-26 23:07:47: INFO One CDS file: will compute paranome 2026-11-26 23:07:53: INFO generated new fontManager 2026-11-26 23:07:54: INFO codeml stdout: AAML in paml version 4.9j, February 2020 2026-11-26 23:07:54: INFO codeml stderr: Error: file name empty.. 2026-11-26 23:07:54: INFO codeml found 2026-11-26 23:07:54: INFO mafft stdout: 2026-11-26 23:07:54: INFO mafft stderr: v7.490 (2021/Oct/30) 2026-11-26 23:07:54: INFO FastTree stdout: 2026-11-26 23:07:54: INFO FastTree stderr: Unknown or incorrect use of option --version FastTree protein_alignment > tree FastTree < protein_alignment > tree FastTree -out tree protein_alignment FastTree -nt nucleotide_alignment > tree FastTree -nt -gtr < nucleotide_alignment > tree FastTree < nucleotide_alignment > tree FastTree accepts alignments in fasta or phylip interleaved formats
Common options (must be before the alignment file):
-quiet to suppress reporting information
-nopr to suppress progress indicator
-log logfile -- save intermediate trees, settings, and model details
-fastest -- speed up the neighbor joining phase & reduce memory usage
(recommended for >50,000 sequences)
-n <number> to analyze multiple alignments (phylip format only)
(use for global bootstrap, with seqboot and CompareToBootstrap.pl)
-nosupport to not compute support values
-intree newick_file to set the starting tree(s)
-intree1 newick_file to use this starting tree for all the alignments
(for faster global bootstrap on huge alignments)
-pseudo to use pseudocounts (recommended for highly gapped sequences)
-gtr -- generalized time-reversible model (nucleotide alignments only)
-lg -- Le-Gascuel 2008 model (amino acid alignments only)
-wag -- Whelan-And-Goldman 2001 model (amino acid alignments only)
-quote -- allow spaces and other restricted characters (but not ' ) in
sequence names and quote names in the output tree (fasta input only;
FastTree will not be able to read these trees back in)
-noml to turn off maximum-likelihood
-nome to turn off minimum-evolution NNIs and SPRs
(recommended if running additional ML NNIs with -intree)
-nome -mllen with -intree to optimize branch lengths for a fixed topology
-cat # to specify the number of rate categories of sites (default 20)
or -nocat to use constant rates
-gamma -- after optimizing the tree under the CAT approximation,
rescale the lengths to optimize the Gamma20 likelihood
-constraints constraintAlignment to constrain the topology search
constraintAlignment should have 1s or 0s to indicates splits
-expert -- see more options
For more information, see http://www.microbesonline.org/fasttree/
2026-11-26 23:07:54: INFO Translating CDS file
100% (15666 of 15666) |##########################################################################################################################| Elapsed Time: 0:00:04 Time: 0:00:04
2026-11-26 23:07:59: WARNING There were 0 warnings during translation
2026-11-26 23:07:59: INFO Started whole paranome Ks analysis
2026-11-26 23:07:59: WARNING Filtered out the 6 largest gene families because n*(n-1)/2 > `max_pairwise`
2026-11-26 23:07:59: WARNING If you want to analyse these large families anyhow, please raise the `max_pairwise` parameter.
2026-11-26 23:07:59: INFO Started analysis in parallel (n_threads = 70)
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000040.codeml
WARNING:root:No codeml results for GF_000040!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000041.codeml
WARNING:root:No codeml results for GF_000041!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000042.codeml
WARNING:root:No codeml results for GF_000042!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000019.codeml
WARNING:root:No codeml results for GF_000019!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000038.codeml
WARNING:root:No codeml results for GF_000038!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000023.codeml
WARNING:root:No codeml results for GF_000023!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000050.codeml
WARNING:root:No codeml results for GF_000050!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000054.codeml
WARNING:root:No codeml results for GF_000054!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000057.codeml
WARNING:root:No codeml results for GF_000057!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000078.codeml
WARNING:root:No codeml results for GF_000078!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000044.codeml
WARNING:root:No codeml results for GF_000044!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000060.codeml
WARNING:root:No codeml results for GF_000060!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000034.codeml
WARNING:root:No codeml results for GF_000034!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000027.codeml
WARNING:root:No codeml results for GF_000027!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000056.codeml
WARNING:root:No codeml results for GF_000056!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000090.codeml
WARNING:root:No codeml results for GF_000090!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000011.codeml
WARNING:root:No codeml results for GF_000011!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000091.codeml
WARNING:root:No codeml results for GF_000091!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000032.codeml
WARNING:root:No codeml results for GF_000032!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000079.codeml
WARNING:root:No codeml results for GF_000079!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000084.codeml
WARNING:root:No codeml results for GF_000084!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000062.codeml
WARNING:root:No codeml results for GF_000062!
ERROR:root:Not all gene pairs present in /work/07.2.wgd_kaks/ks_tmp.3fcbd914a28d38/GF_000028.codeml
WARNING:root:No codeml results for GF_000028!