ZiyueYang01 / VirID

VirID: An integrated platform for the discovery and characterization of RNA Viruses
MIT License
11 stars 5 forks source link

Request for Assistance with Sankey Diagram Error in VirID #12

Closed Lt1020 closed 2 weeks ago

Lt1020 commented 2 weeks ago

Hello Developer: I hope this message finds you well. I am using the VirID package in end_to_end mode, and I have successfully run the workflow to generate a phylogenetic tree. However, I encounter an error when attempting to create the Sankey diagram.

During the execution, I received the following error message:

fastp -i /mnt/sda/WWS/Raw_fastq/WS_0718_SY_R1_001.fastq.gz -I /mnt/sda/WWS/Raw_fastq/WS_0718_SY_R2_001.fastq.gz -o WS_0718_SY/assembly_and_basic_annotation/step3_QC_1.fq -O WS_0718_SY/assembly_and_basic_annotation/step3_QC_2.fq -h WS_0718_SY/assembly_and_basic_annotation/step3_QC.html --detect_adapter_for_pe --dedup --dup_calc_accuracy 4 --dont_eval_duplication --low_complexity_filter --thread 60
fastp v0.23.4, time used: 130 seconds
Warning message:
package ‘jsonlite’ was built under R version 4.2.3
Warning message:
package ‘networkD3’ was built under R version 4.2.3

Attaching package: ‘dplyr’

The following objects are masked from ‘package:stats’:

    filter, lag

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

Warning message:
package ‘dplyr’ was built under R version 4.2.3
Warning message:
package ‘ggplot2’ was built under R version 4.2.3
Error in data$Node1 : $ operator is invalid for atomic vectors
Calls: data.frame -> unique
Execution halted
sh: 2: 0: not found
sh: 3: 1: not found
sh: 4: 2: not found
sh: 5: 3: not found
sh: 6: 4: not found
sh: 7: ..: Permission denied
sh: 8: 77: not found
sh: 9: 78: not found
sh: 10: 79: not found
sh: 11: 80: not found
sh: 12: 81: not found
sh: 14: [82: not found

The major issue is:

Error in data$Node1 : $ operator is invalid for atomic vectors

I noticed that in the source code, I could not find a specific module for generating Sankey diagrams. I would greatly appreciate your guidance on how to resolve this issue or if there are recommended steps to successfully create a Sankey diagram using VirID.

Thank you!