delly icon indicating copy to clipboard operation
delly copied to clipboard

About delly filter -s samples.tsv

Open ClarenceHsiang opened this issue 1 year ago • 6 comments

image NK_HYNK_vcf

Dear delly team:

I used conda to run delly, and I face a problem in filter: The command I used as below:

delly filter -f somatic -o NK_HYNK.pre.bcf -s NK_HYNK_sample.tsv NK_HYNK.bcf

Then, it showed this error image

May you give me some suggestions? Thank you

ClarenceHsiang avatar Aug 01 '22 11:08 ClarenceHsiang

Looks like some problem with the sample sheet. Can you please do:

dos2unix NK_HYNK_sample.tsv

Afterwards check that the columns are okay, e.g.,

cut -f 1 NK_HYNK_sample.tsv

and

cut -f 2 NK_HYNK_sample.tsv

should give you the sample names and tumor or control.

tobiasrausch avatar Aug 03 '22 08:08 tobiasrausch

Hello!

I am facing a similar problem... When I run:

delly filter -f somatic -o "$SV_outDir"DELLY/012_pre.bcf -s "$input_Dir"delly_sampleDescriptionFile.txt "$SV_outDir"DELLY/012.bcf

I get: "No tumor samples specified."

This is how the delly_sampleDescriptionFile.txt looks like: 012-0034-01ND control 012-02-1TD tumor

I made: dos2unix delly_sampleDescriptionFile.txt but does not work. Then I made:

cut -f 1 delly_sampleDescriptionFile.txt 012-0034-01ND 012-02-1TD

cut -f 2 delly_sampleDescriptionFile.txt control tumor

I cannot figure out what's wrong... Any other suggestions? Thank you so much for your time

acarbome7 avatar Sep 15 '22 09:09 acarbome7

Maybe the sample names do not match the input BCF file? Can you try:

bcftools view "$SV_outDir"DELLY/012.bcf | grep -m 1 "^#CHROM"

tobiasrausch avatar Sep 26 '22 10:09 tobiasrausch

Hi. Were you able to find a solution to this?

NidhiAgrawal27 avatar Jan 15 '24 10:01 NidhiAgrawal27

yes, I did because Delly works very well for me, but I cannot recall what was wrong. What's your question?

acarbome7 avatar Jan 15 '24 12:01 acarbome7

Hey!

Thank you so much for responding. I solved it. In my case spelling of 'tumor' in samples.tsv was the issue. I was using 'tumour'.

Best Nidhi

NidhiAgrawal27 avatar Jan 16 '24 08:01 NidhiAgrawal27