Open shiyi-pan opened 3 years ago
Hi, that is strange, so the .tsv
files for the Ks distribution and anchor pair Ks distribution are non-empty, but the figures are? Do you get a plot when using
wgd viz -ks wgd_ksd/format.SoyC09.CDS.fasta.ks.tsv
?
thank you for your reply. the format.SoyC09.CDS.fasta.ks.tsv is 40Mb and part of file is as follows:
AlignmentCoverage AlignmentIdentity AlignmentLength Distance Family Ka Ks Node Omega PairwiseAlignmentLength Paralog1 Paralog2 WeightOutliersExcluded WeightOutliersIncluded
SoyC09_02G004800__SoyC09_10G003700 0.95349 0.94146 1290.0 0.08526 GF_006783 0.0419 0.1203 2.0 0.3483 1230.0 SoyC09_02G004800 SoyC09_10G003700 1.0 1.0
SoyC09_02G294600__SoyC09_08G319200 0.93605 0.81884 1032.0 0.28999 GF_002388 0.1261 0.5694 8.0 0.2214 966.0 SoyC09_02G294600 SoyC09_08G319200 0.16667 0.16667
SoyC09_02G294600__SoyC09_14G011500 0.97965 0.96835 1032.0 0.03387 GF_002388 0.0148 0.0906 6.0 0.1638 1011.0 SoyC09_02G294600 SoyC09_14G011500 1.0 1.0
SoyC09_02G294600__SoyC09_16G191200 0.84012 0.90542 1032.0 0.17804 GF_002388 0.0781 0.1935 7.0 0.4036 867.0 SoyC09_02G294600 SoyC09_16G191200 0.5 0.5
SoyC09_02G294600__SoyC09_18G072700 0.93314 0.82139 1032.0 0.28693 GF_002388 0.1259 0.5511 8.0 0.2285 963.0 SoyC09_02G294600 SoyC09_18G072700 0.16667 0.16667
SoyC09_08G319200__SoyC09_14G011500 0.94186 0.82099 1032.0 0.2691 GF_002388 0.1225 0.5687 8.0 0.2154 972.0 SoyC09_08G319200 SoyC09_14G011500 0.16667 0.16667
SoyC09_08G319200__SoyC09_16G191200 0.82267 0.8033 1032.0 0.34811 GF_002388 0.1412 0.6317 8.0 0.2235 849.0 SoyC09_08G319200 SoyC09_16G191200 0.16667 0.16667
SoyC09_08G319200__SoyC09_18G072700 0.95349 0.96138 1032.0 0.04714 GF_002388 0.0251 0.0868 5.0 0.2894 984.0 SoyC09_08G319200 SoyC09_18G072700 1.0 1.0
SoyC09_14G011500__SoyC09_16G191200 0.84302 0.91494 1032.0 0.15715 GF_002388 0.0685 0.1825 7.0 0.3755 870.0 SoyC09_14G011500 SoyC09_16G191200 0.5 0.5
SoyC09_14G011500__SoyC09_18G072700 0.93895 0.8225 1032.0 0.26604 GF_002388 0.1223 0.5586 8.0 0.2189 969.0 SoyC09_14G011500 SoyC09_18G072700 0.16667 0.16667
SoyC09_16G191200__SoyC09_18G072700 0.82267 0.80565 1032.0 0.34505 GF_002388 0.139 0.633 8.0 0.2195 849.0 SoyC09_16G191200 SoyC09_18G072700 0.16667 0.16667
SoyC09_06G212400__SoyC09_07G113300 0.33538 0.75535 1950.0 0.37721 GF_001512 0.1922 0.9434 12.0 0.2037 654.0 SoyC09_06G212400 SoyC09_07G113300 0.08333 0.08333
SoyC09_06G212400__SoyC09_07G155900 0.16 0.74038 1950.0 0.36079 GF_001512 0.2306 1.196 12.0 0.1928 312.0 SoyC09_06G212400 SoyC09_07G155900 0.08333 0.08333
SoyC09_06G212400__SoyC09_12G136800 0.26308 0.7115 1950.0 0.49301 GF_001512 0.2737 0.9403 12.0 0.291 513.0 SoyC09_06G212400 SoyC09_12G136800 0.08333 0.08333
SoyC09_06G212400__SoyC09_12G150100 0.70154 0.94737 1950.0 0.05783 GF_001512 0.0271 0.1412 10.0 0.1917 1368.0 SoyC09_06G212400 SoyC09_12G150100 1.0 1.0
SoyC09_06G212400__SoyC09_12G223100 0.70154 0.7902 1950.0 0.27494 GF_001512 0.1303 0.8582 12.0 0.1518 1368.0 SoyC09_06G212400 SoyC09_12G223100 0.08333 0.08333
SoyC09_06G212400__SoyC09_13G245700 0.70154 0.80263 1950.0 0.26643 GF_001512 0.1307 0.7062 11.0 0.185 1368.0 SoyC09_06G212400 SoyC09_13G245700 0.5 0.5
SoyC09_07G113300__SoyC09_07G155900 0.15846 0.94822 1950.0 0.09738 GF_001512 0.0446 0.079 7.0 0.5652 309.0 SoyC09_07G113300 SoyC09_07G155900 1.0 1.0
SoyC09_07G113300__SoyC09_12G136800 0.24462 0.87421 1950.0 0.23508 GF_001512 0.1435 0.1424 8.0 1.0076 477.0 SoyC09_07G113300 SoyC09_12G136800 0.5 0.5
the the figure got from your command four histogram with X-axis as Ks,logKs,logKa and logW . The figure is just grey bar and don't have any others like lines,I don't know is normal or not.
Strange, for me it works in a fresh environment with the latest version of wgd
installed from scratch, also for the fragment you pasted above. It must have something to do with your installation. I recommend using virtualenv
to install wgd
in a separate environment. In brief what I have done to test this:
$ virtualenv venv -p python3
$ source venv/bin/activate
$ git clone https://github.com/arzwa/wgd.git
$ pip install ./wgd
$ wgd viz -ks shiyi-pan.tsv
If you encounter issues in the last step, maybe try instead
$ python3 ./wgd/wgd_cli.py viz -ks shiyi-pan.tsv
(where shiyi-pan.tsv
is the fragment you pasted above [note that the file should be tab separated not whitespace separated]). This will create a fresh environment, install the latest wgd version and run wgd viz
. If I do this, I get a file wgd_hist.svg
with the histogram (note that for the fragment above this is only a couple of bars, but for the full file it should be a nice histogram).
thank you for your help. I'm sorry to reply lately. I will try your suggestion. In my log about FastTree, is it normal?
2020-11-01 03:02:02: INFO FastTree stdout: 2020-11-01 03:02:02: 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
Yes, this is just the result of a check performed by wgd
of whether it can run the FastTree
executable, maybe I should hide that because it is confusing indeed.
hi, I run the WGD like that,format.SoyC09.CDS.fasta and ormat.SoyC09.gff are my input file :
I don't find errors in log but the output figures like ks.svg and dotplot.svg are empty.coud't you help me fix this problem ? thank you very much . here is my log and I delete some rereat INFOs because it's too big: