Closed 3d7l closed 1 year ago
Looks like it cannot find the chromosome chr2 in the bam header. Could you show me what the bam header looks like with:
samtools view -H /home/jerome/crc/tmp/test_cider/output01Aligned.out.bam
Thanks.
thanks. Cider requires the following chromosome names chr1-chr22 and chrX, chrY.
@SQ SN:chr1 LN:248956422
@SQ SN:chr2 LN:242193529
@SQ SN:chr3 LN:198295559
@SQ SN:chr4 LN:190214555
@SQ SN:chr5 LN:181538259
@SQ SN:chr6 LN:170805979
@SQ SN:chr7 LN:159345973
@SQ SN:chr8 LN:145138636
@SQ SN:chr9 LN:138394717
@SQ SN:chr10 LN:133797422
@SQ SN:chr11 LN:135086622
@SQ SN:chr12 LN:133275309
@SQ SN:chr13 LN:114364328
@SQ SN:chr14 LN:107043718
@SQ SN:chr15 LN:101991189
@SQ SN:chr16 LN:90338345
@SQ SN:chr17 LN:83257441
@SQ SN:chr18 LN:80373285
@SQ SN:chr19 LN:58617616
@SQ SN:chr20 LN:64444167
@SQ SN:chr21 LN:46709983
@SQ SN:chr22 LN:50818468
@SQ SN:chrX LN:156040895
@SQ SN:chrY LN:57227415
I will make cider output clearer when it cannot find the chromosome in the bam file rather than just crashing.
You can use our reference genome if that helps. It is here: HMFtools-Resources/ref_genome/38
Indeed, that was the problem !
Chromosome notation differs depending on the reference genome provider ucsc => chr1 ensembl => 1 ncbi => NC_000001.11
Thanks for your help.
Hello,
I face the error below when running cider on rna-seq data:
Any idea ?
I used STAR (version 2.7.10b) to index the reference genome and to create the BAM file from the rna-seq FASTA file.
I used "ensembl_gene_data.csv" v38.
I used the following reference genome: https://ftp.ncbi.nih.gov/genomes/refseq/vertebrate_mammalian/Homo_sapiens/all_assembly_versions/GCF_000001405.26_GRCh38