-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clair and ONT samples aligned with hg19 #43
Comments
If you are not using your own BED file or if you've used '--includingAllContigs' in callVarBamParallel.py, the 'chr' prefix will be taken care of by Clair. For more information, could you please show the full command you have used? |
Thanks for reply. I will give samples of my commands but please understand that there is no "chr" in the reference or in the Sample and that seems to be the problem. cat commandList.pvm |head -3 python /opt/conda/envs/clair-env/bin/clair/../clair.py callVarBam --chkpnt_fn "/projects/da_workspace/DA-630/ont/model" --ref_fn "/projects/da_workspace/DA-630/hg19a.fa" --bam_fn "/projects/da_workspace/DA-630/F00209_1_lane.bam" --threshold "0.2" --minCoverage "4" --pypy "pypy3" --samtools "samtools" --delay "10" --threads "4" --sampleName "F00209" --ctgName "1" --ctgStart "0" --ctgEnd "10000000" --call_fn "call/var.1_0_10000000.vcf" The contig name is correct without "chr" but I will exchange the conda clair command into the equivalent container command. /usr/bin/singularity exec --bind /projects/alignment_references,/projects/analysis/analysis34 clair.simg clair.py callVarBam --chkpnt_fn "/projects/da_workspace/DA-630/ont/model" --ref_fn "/projects/da_workspace/DA-630/hg19a.fa" --bam_fn "/projects/da_workspace/DA-630/F00209_1_lane.bam" --threshold "0.2" --minCoverage "4" --pypy "pypy3" --samtools "samtools" --delay "10" --threads "4" --sampleName "F00209" --ctgName "1" --ctgStart "0" --ctgEnd "10000000" --call_fn "call/var.1_0_10000000.vcf" Delay 2 seconds before starting variant calling ... I will try a few things more but could use some more suggestions. I have successfully run samples aligned with hg38 without problems so would like to understand what is going wrong here. |
it seems your BAM file "/projects/da_workspace/DA-630/F00209_1_lane.bam" is not indexed, which is the reason why no tensor was generated. |
let me check and thank-you very much if this is the case....you would have made a lot of people happier.... |
OKAy looks like it is working....I just had to link to the BAM indices... glad to have this worked out so easily. Thanks very much! |
Hi all,
My team recently has started to run clair on samples that were aligned with a hg19 reference. Unfortunately this reference does not have the prefix of "chr" in front of the numbers on the header lines indicating the start of the chromosome region. Eg.:
>22 CM000684.1 Homo sapiens chromosome 22, GRCh37 primary reference assembly
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
...
This is correctly reflected in the generated BAMs.
7923634f-8126-4e55-be50-3e9cb09f7964 0 22 10001 1 106S15M1D5M1D11M1D5M...
But the Clair keeps complaining with the error:
."...
No read has been process, either the genome region you specified has no read cover, or please check the correctness of your BAM input....
I have tried a few things but it seems that Clair requires a bam to contain chromosome names containing "chr".
Please comment if this is correct or not and any solution that can be suggested.
thanks
The text was updated successfully, but these errors were encountered: