mocha icon indicating copy to clipboard operation
mocha copied to clipboard

question with call cnv for array data

Open lizhan96 opened this issue 2 years ago • 8 comments

hi there,

I have successfully run the phase pipeline.

but it's seem that the Chromosomal alterations pipeline guileline was only described for the WGS data but not array data? Could you send me some example as reference.

lizhan96 avatar May 05 '22 09:05 lizhan96

You can find an array example to download here. MoChA will happily run both on VCFs from WGS or from array data. The output format is almost identical. Do notice though that running on WGS data requires significantly more QC and call filtering efforts.

freeseek avatar May 05 '22 14:05 freeseek

Dose the batch file is required? I don't have such file.

lizhan96 avatar May 06 '22 07:05 lizhan96

The batch file is only needed if you are running MoChA through the WDL pipeline. I assume you are running MoChA manually though, so the batch file would not be required. The batch file would be something that the user needs to manually edit when using the MoChA WDL.

freeseek avatar May 06 '22 13:05 freeseek

So could you give me reference code for using MoChA with array data?

I can't find that in the link https://github.com/freeseek/mocha/tree/master/wdl#illumina-example you gave me

lizhan96 avatar May 07 '22 01:05 lizhan96

The instructions provided related to data preparation explain to great depth how to input array data.

freeseek avatar May 07 '22 01:05 freeseek

bcftools +mocha \ --genome $assembly \ --input-stats $tsv \ --no-version \ --output - \ --output-type b \ --variants ^$dir/$pfx.xcl.bcf \ --calls $dir/$pfx.calls.tsv \ --stats $dir/$pfx.stats.tsv \ --ucsc-bed $dir/$pfx.ucsc.bed \ --cnp $cnp \ --mhc $mhc_reg \ --kir $kir_reg \ $dir/$pfx.bcf | \ tee $dir/$pfx.as.bcf | \ bcftools index --force --output $dir/$pfx.as.bcf.csi

for this code, which paramnent is required with array data in calling CNV?

lizhan96 avatar May 07 '22 02:05 lizhan96

I do not understand what you are asking. Each parameter is optional and has an equal effect whether you run MoChA on array data or WGS data.

freeseek avatar May 09 '22 16:05 freeseek

got it.

I have solved the problem. Thanks for your help!

lizhan96 avatar May 10 '22 01:05 lizhan96