songbowang125 / SVision-pro

GNU General Public License v3.0
23 stars 3 forks source link

The output vcf file is empty. #4

Open ShangariR opened 1 week ago

ShangariR commented 1 week ago

Hello, thank you for developing the tool. I am new to WGS analysis and subsequently the tool .I am trying to run it for somatic tumor/control samples. I have installed the tool successfully according to the dependencies. While running the tool the output is given within seconds and it produces a empty file (VCF file is empty)

This is the command i used:

SVision-pro --target_path xxx.bam --base_path yyy.bam --model_path model_liteunet_1024_8_16_32_32_32.pth --out_path /path/ --genome_path hg38.fa --sample_name test --min_supp 2 --preset error-prone --process_num 48 --detect_mode somatic --img_size 1024 --skip_nearby --rescue_large

Log File: Log file Output VCF file vcf file

Any help would be appreciated. Thanks

songbowang125 commented 1 week ago

It appears that the Step1 scans no interval in your sample. Was your BAM file aligned to the same reference specified in the command line?

ShangariR commented 1 week ago

I used the pacbio dataset and GRCh38 reference genome mentioned in the article

songbowang125 commented 1 week ago

In your image showing the 'Output VCF file', you used NCC2-T.bam as the tumor BAM file and NCC2-BL.bam as the normal BAM file. Which article does this data come from? I will run them myself for debugging and then send you the reasons.

ShangariR commented 1 week ago

Hi, am sorry for the confusion, please ignore that image. This is the output VCF file after using the pacbio dataset vcf file (2) The tumor BAM file is m84039_230414_235240_s2.hifi_reads.default.bam and normal BAM file is m84039_230412_183900_s2.hifi_reads.bc2002.bam

songbowang125 commented 1 week ago

While, in my practice, BAM files, names like m'84039_230414_235240_s2.hifi_reads', are not real alignment BAM files but for storing the raw CCS subreads. You can use Samtools to check that. Therefore, you need to map those subreads to reference genome using pbmm2 or convert those subreads to Fastq files and align them using minimap2

ShangariR commented 1 week ago

Sure will check that. Thank you