Skip to content

Chromosome name style in BED file does not correspond to naming style in BAM file #38

Description

@Ismaelfermir

Hi!
I had a problem running the first step of the convading tool --> StartWithBam
I have my BAM and BED file in the same chromosome format but for some reason we send me this error:

Uncaught exception from user code:
Chromosome name style in BED file does not correspond to naming style in BAM file. This is probably caused by using UCSC naming style in one file, and other naming style in the other file. Please fix your BED or BAM file chromosome naming.

Can you say me what is the problem with the files please?

BAM file:

@HD	VN:1.5	GO:none	SO:coordinate
@SQ	SN:chrM	LN:16571
@SQ	SN:chr1	LN:249250621
@SQ	SN:chr2	LN:243199373
@SQ	SN:chr3	LN:198022430
@SQ	SN:chr4	LN:191154276
@SQ	SN:chr5	LN:180915260
@SQ	SN:chr6	LN:171115067
@SQ	SN:chr7	LN:159138663
@SQ	SN:chr8	LN:146364022
@SQ	SN:chr9	LN:141213431
@SQ	SN:chr10	LN:135534747
@SQ	SN:chr11	LN:135006516
@SQ	SN:chr12	LN:133851895
@SQ	SN:chr13	LN:115169878
@SQ	SN:chr14	LN:107349540
@SQ	SN:chr15	LN:102531392
@SQ	SN:chr16	LN:90354753
@SQ	SN:chr17	LN:81195210
@SQ	SN:chr18	LN:78077248
@SQ	SN:chr19	LN:59128983
@SQ	SN:chr20	LN:63025520
@SQ	SN:chr21	LN:48129895
@SQ	SN:chr22	LN:51304566
@SQ	SN:chrX	LN:155270560
@SQ	SN:chrY	LN:59373566
@RG	ID:18NR1873	PL:Illumina	SM:18NR1873
@PG	ID:MarkDuplicates	VN:2.9.0-1-gf5b9f50-SNAPSHOT	
A00285:20:HCVJLDMXX:1:2267:2329:11506	99	chr1	11886	0	101M	=	11952	167	CTTTTCTTTGACCTCTTCTTTCTGT
TCATGTGTATTTGCTGTCTCTTAGCCCAGACTTCCCGTGTCCTTTCCACCGGGCCTTTGAGAGGTCACAGGGTCTT	@A>>AGFCCIDGGGIGDIGDDIGHCDIEDICICCDDDIHGICIGIGDCI
HGGEIDGGDIGGDCICIGGDDIGEGGDHHHGHEEIEJEJIDJEGEHFE>CA>	BD:Z:OOPFJTRQGQSPOPOONONNDONPLNOOPQMNMQOOEPQQQMQOOOOMPQPLQQOPPOPPLNPNMQPP
OEPPQNPOOMPQQPFQSQQRSRSSPQUVQQRPP	MD:Z:101	PG:Z:MarkDuplicates	RG:Z:18NR1873	BI:Z:QQRJLVTSKTUTSTQRQSRQISRURRTT
UURRRTSRJTSTURTSRSRRUTPMTUSTTRTSMPSRRUSUSKUTURTQONRQUSKUVUUVSVVWTSXTQTTSR	NM:i:0	AS:i:101	XS:i:101

BED file:

browser position chr1:11981-12351
track name="Padded" description="Agilent SureSelect DNA - SureSelect Human All Exon V6 r2 - Covered bed file extended by 100bp on either side" color=0,0,128
chrM	2568	2698	-
chr1	11980	12351	ref|DDX11L1,ref|NR_046018,ens|ENST00000518655,ens|ENST00000450305,ens|ENST00000456328,ens|ENST00000515242
chr1	12495	12902	ref|DDX11L1,ref|NR_046018,ens|ENST00000518655,ens|ENST00000450305,ens|ENST00000456328,ens|ENST00000515242
chr1	13063	13758	ref|DDX11L1,ref|NR_046018,ens|ENST00000518655,ens|ENST00000450305,ens|ENST00000456328,ens|ENST00000515242

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions