chernolab / ASpli

BioC current release of ASpli
4 stars 1 forks source link

ASpli - Error with jCounts #15

Open JesusMHU opened 1 year ago

JesusMHU commented 1 year ago

Hi! I hope you're doing great.

I'm opening this issue regarding a JCounts Error when analyzing BAM files of S. lycopersicum data. Here's the error:

BAMFiles <- c("Control_1.bam","Control_2.bam", "Control_3.bam", "NaCl_1h_1.bam", "NaCl_1h_2.bam", "NaCl_1h_3.bam") targets <- data.frame(row.names = paste0('Sample',c(1:6)),

mBAMs <- data.frame( bam = c("Control_sorted.bam", "NaCl_1h_sorted.bam"),

gbcounts <- gbCounts(features=features, targets=targets, minReadLength = 18, maxISize = 50000, libType="PE", strandMode=0) Summarizing Sample1 ETA: 43 min Summarizing Sample2 ETA: 35 min Summarizing Sample3 ETA: 26 min Summarizing Sample4 ETA: 20 min Summarizing Sample5 ETA: 11 min Summarizing Sample6 ETA: 0 min There were 12 warnings (use warnings() to see them)

asd <- jCounts(counts=gbcounts, features=features, minReadLength=18, libType="PE", strandMode=0) #unstranded Junctions PJU completed Error in .local(x, use.names, use.mcols, ...) : For some pairs in 'x', the 2 alignments are not on the same chromosome. Cannot associate a unique genomic range to such pairs. Please call granges() with 'on.discordant.seqnames="drop"' to drop these pairs, or with 'on.discordant.seqnames="split"' to represent each of them with 2 genomic ranges in the returned GRanges object. Note that in both cases the returned object won't be parallel to 'x'. Alternatively, please consider using grglist() instead of granges() to turn 'x' into a GRangesList object instead of a GRanges object. See ?GAlignmentPairs for more information. In addition: Warning messages: 1: In .make_GAlignmentPairs_fromGAlignments(gal, strandMode = strandMode, : 24899 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment. 2: In FUN(X[[i]], ...) : Some seqnames had a '.' present in their names. ASpli had to normalize them using ''.

I read that you can either treat the data as SE (and I'm not sure which would be the implications, whether I should or not do it with my data) or that I could try to remove/drop these in the alignment step (I use Hisat, and I'm not sure how to drop it). Can you give me any insight on this issue? Or any advice?

Thanks a lot in advance!!

My session info, just in case:

R version 3.6.3 (2020-02-29) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Ubuntu 20.04.4 LTS

Matrix products: default BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0 LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0

locale: [1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8 [4] LC_COLLATE=C.UTF-8 LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8 [7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C [10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C

attached base packages: [1] stats graphics grDevices utils datasets methods base

loaded via a namespace (and not attached): [1] compiler_3.6.3

JesusMHU commented 1 year ago

Also, if I treat it as SE, I get this error during a subsequent step.

asd <- jCounts(counts=gbcounts, features=features, minReadLength=18, libType="SE", strandMode=0) #unstranded

Junctions PJU completed

Junctions PIR completed Junctions IR PIR completed

Junctions AltSS PSI completed Junctions ES PSI completed Warning messages: 1: In FUN(X[[i]], ...) : Some seqnames had a '.' present in their names. ASpli had to normalize them using ''. 2: In FUN(X[[i]], ...) : Some seqnames had a '.' present in their names. ASpli had to normalize them using ''. 3: In FUN(X[[i]], ...) : Some seqnames had a '.' present in their names. ASpli had to normalize them using ''. 4: In FUN(X[[i]], ...) : Some seqnames had a '.' present in their names. ASpli had to normalize them using ''. 5: In FUN(X[[i]], ...) : Some seqnames had a '.' present in their names. ASpli had to normalize them using ''. 6: In FUN(X[[i]], ...) : Some seqnames had a '.' present in their names. ASpli had to normalize them using ''.

gb <- gbDUreport(gbcounts, contrast = c(-1,1)) Filtering genes: Filtering by reads. Filtering using control,treatment conditions Filtering any condition with mean minimum value 10 Filtering by read density. Filtering using control,treatment conditions Filtering any condition with mean minimum value 0.05 Filtering genes done Genes differential expression: Contrast:-1control 1treatment Running GLM LRT Genes differential expression done Genes DE completed Bins DE completed jdur <- jDUreport(asd, contrast=c(-1,1)) Running junctionsPJU test Running junctionsPIR test Running irPIR test Running esPSI test Running altPSI test Error in .rowNamesDF<-(x, value = value) : invalid 'row.names' length sr <- splicingReport(gb, jdur, counts=gbcounts) Error in .hasSlot(jdu, ".ASpliVersion") : object 'jdur' not found is <- integrateSignals(sr,asd, bin.FC=1) Error in h(simpleError(msg, call)) : error in evaluating the argument 'sr' in selecting a method for function 'integrateSignals': object 'sr' not found exportSplicingReports(sr, output.dir="2.sr_1h") Error in h(simpleError(msg, call)) : error in evaluating the argument 'sr' in selecting a method for function 'exportSplicingReports': object 'sr' not found exportIntegratedSignals(is,sr=sr, output.dir = "2.SplicingReport_1h", counts=gbcounts,features=features,asd=asd, mergedBams = mBAMs) Error in (function (classes, fdef, mtable) : unable to find an inherited method for function 'exportIntegratedSignals' for signature '"function"'

estepi commented 1 year ago

Hi @JesusMHU, thanks for using ASpli

I suspect something in your chromosome names.

Can you paste here the output of this command:

seqlevels(txdb) # txdb is your TrasncriptDb object from where you get 'features'

as well as (in your shell)

samtools view -H your.bam

thanks a lot !

JesusMHU commented 1 year ago

Hi @estepi thanks for the help! Here are the results:

seqlevels(genomeTxDb) [1] "SL4.0ch00" "SL4.0ch01" "SL4.0ch02" "SL4.0ch03" "SL4.0ch04" "SL4.0ch05" [7] "SL4.0ch06" "SL4.0ch07" "SL4.0ch08" "SL4.0ch09" "SL4.0ch10" "SL4.0ch11" [13] "SL4.0ch12"

Then for one of the BAMs

(env1) jesusm@LAPTOP-S6C7NUN7:/mnt/g/Tomato/(7) PRJNA497931 - PE$ samtools view -H Control_1.bam @HD VN:1.0 SO:unsorted @SQ SN:SL4.0ch00 LN:9643250 @SQ SN:SL4.0ch01 LN:90863682 @SQ SN:SL4.0ch02 LN:53473368 @SQ SN:SL4.0ch03 LN:65298490 @SQ SN:SL4.0ch04 LN:64459972 @SQ SN:SL4.0ch05 LN:65269487 @SQ SN:SL4.0ch06 LN:47258699 @SQ SN:SL4.0ch07 LN:67883646 @SQ SN:SL4.0ch08 LN:63995357 @SQ SN:SL4.0ch09 LN:68513564 @SQ SN:SL4.0ch10 LN:64792705 @SQ SN:SL4.0ch11 LN:54379777 @SQ SN:SL4.0ch12 LN:66688036 @PG ID:hisat2 PN:hisat2 VN:2.1.0 CL:"/mnt/g/Tomato/tools/hisat2-2.1.0/hisat2-align-s --wrapper basic-0 -x /mnt/g/Tomato/S_lyco_Chr.all -S SRR8184597_1.sam -1 /tmp/1204.inpipe1 -2 /tmp/1204.inpipe2" @PG ID:samtools PN:samtools PP:hisat2 VN:1.16.1 CL:samtools view -S -b -@ 4 SRR8184597_1.sam @PG ID:samtools.1 PN:samtools PP:samtools VN:1.16.1 CL:samtools view -H Control_1.bam

estepi commented 1 year ago

Thanks! Can you try to replace/rename the "." in your chr names and see what happens? I know it can be a bit annoying, tell me if you need help with it

JesusMHU commented 1 year ago

Ok! Let me (try to) change it and remake the BAMs and I'll get back to you. Thanks a lot!

JesusMHU commented 1 year ago

Hi @estepi! I changed the chromosome names in both the annotation and genome and remade de BAM files. It did correct the warnings about the points, but I'm still getting the error in jCounts about mate pair reads on different chromosomes.

library(GenomicFeatures) Loading required package: GenomeInfoDb Loading required package: GenomicRanges library(statmod) gtfFileName <- "ITAG4.0_gene_models_no_points.gff" genomeTxDb <- makeTxDbFromGFF(gtfFileName) Import genomic features from the file as a GRanges object ... OK Prepare the 'metadata' data frame ... OK Make the TxDb object ... OK features <- binGenome( genomeTxDb, cores=3)

  • Number of extracted Genes = 34075
  • Number of extracted Exon Bins = 153600
  • Number of extracted intron bins = 127432
  • Number of extracted trascripts = 34075
  • Number of extracted junctions = 127432
  • Number of AS bins (not include external) = 1
  • Number of AS bins (include external) = 1
  • Classified as: ES bins = 0 (0%) IR bins = 1 (100%) Alt5'ss bins = 0 (0%) Alt3'ss bins = 0 (0%) Multiple AS bins = 0 (0%) classified as: ES bins = 0 (NaN%) IR bins = 0 (NaN%) Alt5'ss bins = 0 (NaN%) Alt3'ss bins = 0 (NaN%)

Correcting Io ends, this might take a while... |================================================= | 33%, ETA 09:34 |===============================================================================================================================================| 100%, Elapsed 14:10 Genome binning completed

setwd("/mnt/g/Tomato/(7) PRJNA497931 - PE/Prueba_nopoints") BAMFiles <- c("Control_1_sorted.bam","Control_2_sorted.bam", "NaCl_1_sorted.bam", "NaCl_2_sorted.bam") targets <- data.frame(row.names = paste0('Sample',c(1:4)),

  • bam = BAMFiles[1:4],
  • f1 = c( 'control','control','treatment', 'treatment'),
  • stringsAsFactors = FALSE); targets bam f1 Sample1 Control_1_sorted.bam control Sample2 Control_2_sorted.bam control Sample3 NaCl_1_sorted.bam treatment Sample4 NaCl_2_sorted.bam treatment mBAMs <- data.frame( bam = c("Control_sorted.bam", "NaCl_sorted.bam"),
  • condition = c("control","treatment")); mBAMs bam condition 1 Control_sorted.bam control 2 NaCl_sorted.bam treatment gbcounts <- gbCounts(features=features, targets=targets, minReadLength = 18, maxISize = 50000, libType="PE", strandMode=0) Summarizing Sample1 ETA: 38 min Summarizing Sample2 ETA: 25 min Summarizing Sample3 ETA: 12 min Summarizing Sample4

ETA: 0 min Warning messages: 1: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 270276 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment. 2: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 227677 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment. 3: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 211808 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment. 4: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 244315 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment.

which(rownames(gbcounts@junction.counts)=="NA") [1] 269054 gbcounts@junction.counts <- gbcounts@junction.counts[-which(rownames(gbcounts@junction.counts)=="NA"),] asd <- jCounts(counts=gbcounts, features=features, minReadLength=18, libType="PE", strandMode=0) #unstranded Junctions PJU completed Error in .local(x, use.names, use.mcols, ...) : For some pairs in 'x', the 2 alignments are not on the same chromosome. Cannot associate a unique genomic range to such pairs. Please call granges() with 'on.discordant.seqnames="drop"' to drop these pairs, or with 'on.discordant.seqnames="split"' to represent each of them with 2 genomic ranges in the returned GRanges object. Note that in both cases the returned object won't be parallel to 'x'. Alternatively, please consider using grglist() instead of granges() to turn 'x' into a GRangesList object instead of a GRanges object. See ?GAlignmentPairs for more information. In addition: Warning message: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 270276 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment.

This is the result of levels on de TxDb object:

seqlevels(genomeTxDb) [1] "SL4_0ch00" "SL4_0ch01" "SL4_0ch02" "SL4_0ch03" "SL4_0ch04" "SL4_0ch05" [7] "SL4_0ch06" "SL4_0ch07" "SL4_0ch08" "SL4_0ch09" "SL4_0ch10" "SL4_0ch11" [13] "SL4_0ch12"

And the samtools view -H of one of the new BAMs:

@HD VN:1.0 SO:coordinate @SQ SN:SL4_0ch00 LN:9643250 @SQ SN:SL4_0ch01 LN:90863682 @SQ SN:SL4_0ch02 LN:53473368 @SQ SN:SL4_0ch03 LN:65298490 @SQ SN:SL4_0ch04 LN:64459972 @SQ SN:SL4_0ch05 LN:65269487 @SQ SN:SL4_0ch06 LN:47258699 @SQ SN:SL4_0ch07 LN:67883646 @SQ SN:SL4_0ch08 LN:63995357 @SQ SN:SL4_0ch09 LN:68513564 @SQ SN:SL4_0ch10 LN:64792705 @SQ SN:SL4_0ch11 LN:54379777 @SQ SN:SL4_0ch12 LN:66688036 @PG ID:hisat2 PN:hisat2 VN:2.1.0 CL:"/mnt/g/Tomato/tools/hisat2-2.1.0/hisat2-align-s --wrapper basic-0 -x /mnt/g/Tomato/S_lyco_Chr_no_points.all -S SRR8184599_1.sam -1 /tmp/1309.inpipe1 -2 /tmp/1309.inpipe2" @PG ID:samtools PN:samtools PP:hisat2 VN:1.16.1 CL:samtools view -S -b -@ 4 SRR8184599_1.sam @PG ID:samtools.1 PN:samtools PP:samtools VN:1.16.1 CL:samtools sort -o NaCl_1_sorted.bam -@ 4 NaCl_1.bam @PG ID:samtools.2 PN:samtools PP:samtools.1 VN:1.16.1 CL:samtools view -H NaCl_1_sorted.bam

estepi commented 1 year ago

Hi @JesusMHU Great job! I would check junctions in the aligment. Im dealing with similar problem in H. sapiens. Sometimes you have reads aligned in dff crhomosomes

Can you try the suggestion from GenomicRanges and identify which junctions are those? If you can detect them, you can add a "check step" in your counting.

For some pairs in 'x', the 2 alignments are not on the same chromosome. Cannot associate a unique genomic range to such pairs. Please call granges() with 'on.discordant.seqnames="drop"' to drop these pairs, or with 'on.discordant.seqnames="split"' to represent each of them with 2 genomic ranges in the returned GRanges object. Note that in both cases the returned object won't be parallel to 'x'. Alternatively, please consider using grglist() instead of granges() to turn 'x' into a

Use 'getDumpedAlignments()' to retrieve them from the dump environment.

looking forward for your news,

JesusMHU commented 1 year ago

Hi! @estepi thanks for your answer.

I wouldn't know how to follow the suggestion of the error. How and in which object should I check for those junctions?

Thanks!

JesusMHU commented 1 year ago

Hi! @estepi. Update. I managed to remove all discordant reads that were not behaving as paired-end reads using samtools (samtools view -h -b -f 0x2 Control_1.bam > Control_1_filtered.bam -@ 4).

This removed the jCounts error, but I don't know if it is an optimum solution.

However, I then have another error in the jDUreport step, and now I have no clue:

library(GenomicFeatures) Loading required package: GenomeInfoDb Loading required package: GenomicRanges library(statmod) library(stringr) gtfFileName <- "ITAG4.0_gene_models_no_points.gff" genomeTxDb <- makeTxDbFromGFF(gtfFileName) Import genomic features from the file as a GRanges object ... OK Prepare the 'metadata' data frame ... OK Make the TxDb object ... OK features <- binGenome( genomeTxDb, cores=4)

  • Number of extracted Genes = 34075
  • Number of extracted Exon Bins = 153600
  • Number of extracted intron bins = 127432
  • Number of extracted trascripts = 34075
  • Number of extracted junctions = 127432
  • Number of AS bins (not include external) = 1
  • Number of AS bins (include external) = 1
  • Classified as: ES bins = 0 (0%) IR bins = 1 (100%) Alt5'ss bins = 0 (0%) Alt3'ss bins = 0 (0%) Multiple AS bins = 0 (0%) classified as: ES bins = 0 (NaN%) IR bins = 0 (NaN%) Alt5'ss bins = 0 (NaN%) Alt3'ss bins = 0 (NaN%)

Correcting Io ends, this might take a while... |= | 1%, ETA 36:22 |===============================================================================================================================================| 100%, Elapsed 16:30 Genome binning completed

setwd("/mnt/g/Tomato/(7) PRJNA497931 - PE/Prueba_nopoints") BAMFiles <- c("Control_1_filtered_sorted.bam","Control_2_filtered_sorted.bam", "NaCl_1_filtered_sorted.bam", "NaCl_2_filtered_sorted.bam") targets <- data.frame(row.names = paste0('Sample',c(1:4)),

  • bam = BAMFiles[1:4],
  • f1 = c( 'control','control','treatment', 'treatment'),
  • stringsAsFactors = FALSE); targets bam f1 Sample1 Control_1_filtered_sorted.bam control Sample2 Control_2_filtered_sorted.bam control Sample3 NaCl_1_filtered_sorted.bam treatment Sample4 NaCl_2_filtered_sorted.bam treatment mBAMs <- data.frame( bam = c("Control_filtered_sorted.bam", "NaCl_filtered_sorted.bam"),
  • condition = c("control","treatment")); mBAMs bam condition 1 Control_filtered_sorted.bam control 2 NaCl_filtered_sorted.bam treatment gbcounts <- gbCounts(features=features, targets=targets, minReadLength = 18, maxISize = 50000, libType="PE", strandMode=0) Summarizing Sample1 ETA: 62 min Summarizing Sample2 ETA: 41 min Summarizing Sample3 ETA: 20 min Summarizing Sample4 ETA: 0 min Warning messages: 1: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 269454 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment. 2: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 227058 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment. 3: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 211496 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment. 4: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 243574 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment. which(rownames(gbcounts@junction.counts)=="NA") [1] 262781 gbcounts@junction.counts <- gbcounts@junction.counts[-which(rownames(gbcounts@junction.counts)=="NA"),] asd <- jCounts(counts=gbcounts, features=features, minReadLength=18, libType="PE", strandMode=0) #unstranded Junctions PJU completed Junctions PIR completed Junctions IR PIR completed Junctions AltSS PSI completed Junctions ES PSI completed Warning messages: 1: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 269454 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment. 2: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 227058 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment. 3: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 211496 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment. 4: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 243574 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment. gb <- gbDUreport(gbcounts, contrast = c(-1,1)) Filtering genes: Filtering by reads. Filtering using control,treatment conditions Filtering any condition with mean minimum value 10 Filtering by read density. Filtering using control,treatment conditions Filtering any condition with mean minimum value 0.05 Filtering genes done Genes differential expression: Contrast:-1control 1treatment Running GLM LRT Genes differential expression done Genes DE completed Bins DE completed jdur <- jDUreport(asd, contrast=c(-1,1)) Running junctionsPJU test Running junctionsPIR test Running irPIR test Running esPSI test Running altPSI test Error in .rowNamesDF<-(x, value = value) : invalid 'row.names' length

sr <- splicingReport(gb, jdur, counts=gbcounts) Error in .hasSlot(jdu, ".ASpliVersion") : object 'jdur' not found is <- integrateSignals(sr,asd, bin.FC=1) Error in h(simpleError(msg, call)) : error in evaluating the argument 'sr' in selecting a method for function 'integrateSignals': object 'sr' not found exportSplicingReports(sr, output.dir="7.sr") Error in h(simpleError(msg, call)) : error in evaluating the argument 'sr' in selecting a method for function 'exportSplicingReports': object 'sr' not found exportIntegratedSignals(is,sr=sr, output.dir = "7.SplicingReport", counts=gbcounts,features=features,asd=asd, mergedBams = mBAMs) Error in (function (classes, fdef, mtable) : unable to find an inherited method for function 'exportIntegratedSignals' for signature '"function"'

Not sure which rownames are the wrong length. Can you please give me any idea?

Thanks a lot in advance for all the help!

estepi commented 1 year ago

hi @JesusMHU 1 Good news!

Good job you found this "weird" reads, you are not losing information removing those. For the future, it is also useful to be aware of some ambiguos genomic regions, specially if you are not using "model" genomes

If you are able to have de jCounts object, it would be a good idea to check the junctions name, accessing to jCounts object

There are some warnings we can pay attention: Warning messages: 1: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 269454 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment. 2: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 227058 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment. 3: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 211496 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment. 4: In .make_GAlignmentPairs_from_GAlignments(gal, strandMode = strandMode, : 243574 alignments with ambiguous pairing were dumped. Use 'getDumpedAlignments()' to retrieve them from the dump environment.

In the meantime, due to you already have gb object, you can start with these tables and have a feeling about splicing.

glad to help you,

JesusMHU commented 1 year ago

Dear @estepi . I checked the jcounts object and there are def some weird things. For example, there are no entries on asd@altPSI. I'm not sure what could be causing this but it's as if it wasn't reading the annotation properly or something. See:

str(asd) Formal class 'ASpliAS' [package "ASpli"] with 8 slots ..@ irPIR :'data.frame': 127432 obs. of 18 variables: .. ..$ event : chr [1:127432] "-" "-" "-" "-" ... .. ..$ J1 : chr [1:127432] "Solyc00g005280.1:I001_E1I" "Solyc00g006650.1:I001_E1I" "Solyc00g006650.1:I002_E1I" "Solyc00g007330.1:I001_E1I" ... .. ..$ Sample1 : int [1:127432] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample2 : int [1:127432] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample3 : int [1:127432] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample4 : int [1:127432] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ J2 : chr [1:127432] "Solyc00g005280.1:I001_IE2" "Solyc00g006650.1:I001_IE2" "Solyc00g006650.1:I002_IE2" "Solyc00g007330.1:I001_IE2" ... .. ..$ Sample1 : int [1:127432] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample2 : int [1:127432] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample3 : int [1:127432] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample4 : int [1:127432] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ J3 : chr [1:127432] NA NA NA NA ... .. ..$ Sample1 : num [1:127432] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample2 : num [1:127432] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample3 : num [1:127432] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample4 : num [1:127432] NA NA NA NA NA NA NA NA NA NA ... .. ..$ control : num [1:127432] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN ... .. ..$ treatment: num [1:127432] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN ... ..@ altPSI :'data.frame': 0 obs. of 18 variables: .. ..$ event : chr(0) .. ..$ J1 : chr(0) .. ..$ Sample1 : num(0) .. ..$ Sample2 : num(0) .. ..$ Sample3 : num(0) .. ..$ Sample4 : num(0) .. ..$ J2 : chr(0) .. ..$ Sample1 : num(0) .. ..$ Sample2 : num(0) .. ..$ Sample3 : num(0) .. ..$ Sample4 : num(0) .. ..$ J3 : chr(0) .. ..$ Sample1 : num(0) .. ..$ Sample2 : num(0) .. ..$ Sample3 : num(0) .. ..$ Sample4 : num(0) .. ..$ control : num(0) .. ..$ treatment: num(0) ..@ esPSI :'data.frame': 101265 obs. of 18 variables: .. ..$ event : chr [1:101265] "-" "-" "-" "-" ... .. ..$ J1 : chr [1:101265] NA NA NA NA ... .. ..$ Sample1 : num [1:101265] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample2 : num [1:101265] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample3 : num [1:101265] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample4 : num [1:101265] NA NA NA NA NA NA NA NA NA NA ... .. ..$ J2 : chr [1:101265] NA NA NA NA ... .. ..$ Sample1 : num [1:101265] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample2 : num [1:101265] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample3 : num [1:101265] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample4 : num [1:101265] NA NA NA NA NA NA NA NA NA NA ... .. ..$ J3 : chr [1:101265] NA NA NA NA ... .. ..$ Sample1 : num [1:101265] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample2 : num [1:101265] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample3 : num [1:101265] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample4 : num [1:101265] NA NA NA NA NA NA NA NA NA NA ... .. ..$ control : num [1:101265] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN ... .. ..$ treatment: num [1:101265] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN ... ..@ junctionsPIR :'data.frame': 114924 obs. of 16 variables: .. ..$ hitIntron : chr [1:114924] "Solyc00g500023.1:I001" NA NA NA ... .. ..$ hitIntronEvent: chr [1:114924] "-" NA NA NA ... .. ..$ Sample1 : int [1:114924] 334 620 298 0 0 3 3 0 0 3 ... .. ..$ Sample2 : int [1:114924] 395 671 273 0 0 3 1 0 1 5 ... .. ..$ Sample3 : int [1:114924] 455 845 384 0 0 5 1 0 2 1 ... .. ..$ Sample4 : int [1:114924] 391 716 328 1 1 1 0 0 0 2 ... .. ..$ Sample1 : int [1:114924] 332 623 291 0 18 3 1 0 0 0 ... .. ..$ Sample2 : int [1:114924] 398 666 270 1 7 3 1 1 1 4 ... .. ..$ Sample3 : int [1:114924] 463 841 376 0 11 5 1 0 2 1 ... .. ..$ Sample4 : int [1:114924] 392 716 324 0 10 1 0 0 0 2 ... .. ..$ Sample1 : num [1:114924] 9 6 9 21 18 97 76 77 52 83 ... .. ..$ Sample2 : num [1:114924] 1 10 2 11 23 82 75 73 41 64 ... .. ..$ Sample3 : num [1:114924] 13 6 11 12 21 10 9 4 6 11 ... .. ..$ Sample4 : num [1:114924] 13 7 17 13 39 18 15 20 14 16 ... .. ..$ control : num [1:114924] 0.9865 0.9877 0.9809 0.0154 0.2336 ... .. ..$ treatment : num [1:114924] 0.9703 0.9917 0.9619 0.0196 0.1549 ... ..@ junctionsPJU :'data.frame': 284517 obs. of 26 variables: .. ..$ junction : Factor w/ 103771 levels "noHit","Solyc00g500023.1:J001",..: 1 1 1 1 1 1 2 1 1 1 ... .. ..$ gene : Factor w/ 21005 levels "noHit","Solyc00g500003.1",..: 2 2 2 2 2 2 3 3 4 5 ... .. ..$ strand : Factor w/ 3 levels "-","*","+": 1 1 1 1 1 1 1 1 3 1 ... .. ..$ multipleHit : Factor w/ 2 levels "-","yes": 1 1 1 1 1 1 1 1 1 1 ... .. ..$ symbol : Factor w/ 21005 levels "-","Solyc00g500003.1",..: 2 2 2 2 2 2 3 3 4 5 ... .. ..$ gene_coordinates: Factor w/ 21005 levels "-","SL4_0ch00:1374595-1377031",..: 11 11 11 11 11 11 2 2 3 4 ... .. ..$ bin_spanned : Factor w/ 196282 levels "-","Solyc00g069880.2:E001;Solyc00g069880.2:E002;Solyc00g069880.2:E003;Solyc00g069880.2:E004;Solyc00g069880.2:E005;S"| truncated,..: 1 3 1 1 1 1 4 5 9 10 ... .. ..$ j_within_bin : Factor w/ 10399 levels "-","Solyc01g005030.4:E005",..: 1 1 1 1 1 1 1 1 1 1 ... .. ..$ Sample1 : num [1:284517] 1 0 0 0 1 1 9 0 6 1 ... .. ..$ Sample2 : num [1:284517] 0 0 1 1 3 2 1 0 10 0 ... .. ..$ Sample3 : num [1:284517] 0 1 0 0 0 0 13 9 6 0 ... .. ..$ Sample4 : num [1:284517] 0 0 0 0 0 0 13 4 7 0 ... .. ..$ StartHit : chr [1:284517] "-" "-" "-" "-" ... .. ..$ Sample1 : num [1:284517] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample2 : num [1:284517] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample3 : num [1:284517] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample4 : num [1:284517] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ control.start : num [1:284517] 1 NaN 1 1 1 1 1 NaN 1 1 ... .. ..$ treatment.start : num [1:284517] NaN 1 NaN NaN NaN NaN 1 1 1 NaN ... .. ..$ EndHit : chr [1:284517] "-" "-" "-" "-" ... .. ..$ Sample1 : num [1:284517] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample2 : num [1:284517] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample3 : num [1:284517] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample4 : num [1:284517] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ control.end : num [1:284517] 1 NaN 1 1 1 1 1 NaN 1 1 ... .. ..$ treatment.end : num [1:284517] NaN 1 NaN NaN NaN NaN 1 1 1 NaN ... ..@ join :'data.frame': 228697 obs. of 18 variables: .. ..$ event : chr [1:228697] "-" "-" "-" "-" ... .. ..$ J1 : chr [1:228697] NA NA NA NA ... .. ..$ Sample1 : num [1:228697] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample2 : num [1:228697] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample3 : num [1:228697] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample4 : num [1:228697] NA NA NA NA NA NA NA NA NA NA ... .. ..$ J2 : chr [1:228697] NA NA NA NA ... .. ..$ Sample1 : num [1:228697] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample2 : num [1:228697] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample3 : num [1:228697] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample4 : num [1:228697] NA NA NA NA NA NA NA NA NA NA ... .. ..$ J3 : chr [1:228697] NA NA NA NA ... .. ..$ Sample1 : num [1:228697] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample2 : num [1:228697] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample3 : num [1:228697] NA NA NA NA NA NA NA NA NA NA ... .. ..$ Sample4 : num [1:228697] NA NA NA NA NA NA NA NA NA NA ... .. ..$ control : num [1:228697] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN ... .. ..$ treatment: num [1:228697] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN ... ..@ targets :'data.frame': 4 obs. of 3 variables: .. ..$ bam : chr [1:4] "Control_1_filtered_sorted.bam" "Control_2_filtered_sorted.bam" "NaCl_1_filtered_sorted.bam" "NaCl_2_filtered_sorted.bam" .. ..$ f1 : chr [1:4] "control" "control" "treatment" "treatment" .. ..$ condition: chr [1:4] "control" "control" "treatment" "treatment" ..@ .ASpliVersion: chr "2"

I'll also post the gbcounts object just in case:

str(gbcounts) Formal class 'ASpliCounts' [package "ASpli"] with 10 slots ..@ gene.counts :'data.frame': 34075 obs. of 11 variables: .. ..$ symbol : chr [1:34075] "Solyc00g005280.1" "Solyc00g006650.1" "Solyc00g007330.1" "Solyc00g007340.1" ... .. ..$ locus_overlap : chr [1:34075] "-" "-" "-" "-" ... .. ..$ gene_coordinates: chr [1:34075] "SL4_0ch00:1075280-1075782" "SL4_0ch00:8739397-8751155" "SL4_0ch00:2379604-2380807" "SL4_0ch00:2388674-2389042" ... .. ..$ start : int [1:34075] 1075280 8739397 2379604 2388674 2416399 5306617 9265121 9276887 9271932 1943916 ... .. ..$ end : int [1:34075] 1075782 8751155 2380807 2389042 2417840 5307486 9265617 9277476 9273315 1946994 ... .. ..$ length : num [1:34075] 503 11759 1204 369 1442 ... .. ..$ effective_length: int [1:34075] 411 156 889 369 888 681 366 489 1031 1072 ... .. ..$ Sample1 : int [1:34075] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample2 : int [1:34075] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample3 : int [1:34075] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample4 : int [1:34075] 0 0 0 0 0 0 0 0 0 0 ... ..@ exon.intron.counts:'data.frame': 281031 obs. of 13 variables: .. ..$ feature : chr [1:281031] "E" "I" "E" "E" ... .. ..$ event : chr [1:281031] "external" "-" "external" "external" ... .. ..$ locus : chr [1:281031] "Solyc00g005280.1" "Solyc00g005280.1" "Solyc00g005280.1" "Solyc00g006650.1" ... .. ..$ locus_overlap : chr [1:281031] "-" "-" "-" "-" ... .. ..$ symbol : chr [1:281031] "Solyc00g005280.1" "Solyc00g005280.1" "Solyc00g005280.1" "Solyc00g006650.1" ... .. ..$ gene_coordinates: chr [1:281031] "SL4_0ch00:1075280-1075782" "SL4_0ch00:1075280-1075782" "SL4_0ch00:1075280-1075782" "SL4_0ch00:8739397-8751155" ... .. ..$ start : int [1:281031] 1075280 1075500 1075592 8739397 8739434 8750314 8750335 8751058 2379604 2380325 ... .. ..$ end : int [1:281031] 1075499 1075591 1075782 8739433 8750313 8750334 8751057 8751155 2380324 2380639 ... .. ..$ length : int [1:281031] 220 92 191 37 10880 21 723 98 721 315 ... .. ..$ Sample1 : int [1:281031] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample2 : int [1:281031] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample3 : int [1:281031] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample4 : int [1:281031] 0 0 0 0 0 0 0 0 0 0 ... ..@ junction.counts :'data.frame': 357534 obs. of 12 variables: .. ..$ junction : Factor w/ 103771 levels "noHit","Solyc00g500023.1:J001",..: 1 1 1 1 1 1 1 1 1 1 ... .. ..$ gene : Factor w/ 21005 levels "noHit","Solyc00g500003.1",..: 1 1 1 1 1 1 1 1 1 1 ... .. ..$ strand : Factor w/ 3 levels "-","*","+": 2 2 2 2 2 2 2 2 2 2 ... .. ..$ multipleHit : Factor w/ 2 levels "-","yes": 1 1 1 1 1 1 1 1 1 1 ... .. ..$ symbol : Factor w/ 21005 levels "-","Solyc00g500003.1",..: 1 1 1 1 1 1 1 1 1 1 ... .. ..$ gene_coordinates: Factor w/ 21005 levels "-","SL4_0ch00:1374595-1377031",..: 1 1 1 1 1 1 1 1 1 1 ... .. ..$ bin_spanned : Factor w/ 196282 levels "-","Solyc00g069880.2:E001;Solyc00g069880.2:E002;Solyc00g069880.2:E003;Solyc00g069880.2:E004;Solyc00g069880.2:E005;S"| truncated,..: 1 1 1 1 1 1 1 1 1 1 ... .. ..$ j_within_bin : Factor w/ 10399 levels "-","Solyc01g005030.4:E005",..: 1 1 1 1 1 1 1 1 1 1 ... .. ..$ Sample1 : num [1:357534] 14 2 17 1 0 0 1 0 0 0 ... .. ..$ Sample2 : num [1:357534] 1 2 1 0 0 1 1 1 0 0 ... .. ..$ Sample3 : num [1:357534] 5 0 7 0 1 0 2 1 1 1 ... .. ..$ Sample4 : num [1:357534] 9 0 10 0 0 0 0 0 0 0 ... ..@ e1i.counts :'data.frame': 127432 obs. of 12 variables: .. ..$ event : chr [1:127432] "-" "-" "-" "-" ... .. ..$ locus : chr [1:127432] "Solyc00g005280.1" "Solyc00g006650.1" "Solyc00g006650.1" "Solyc00g007330.1" ... .. ..$ locus_overlap : chr [1:127432] "-" "-" "-" "-" ... .. ..$ symbol : chr [1:127432] "Solyc00g005280.1" "Solyc00g006650.1" "Solyc00g006650.1" "Solyc00g007330.1" ... .. ..$ gene_coordinates: chr [1:127432] "SL4_0ch00:1075280-1075782" "SL4_0ch00:8739397-8751155" "SL4_0ch00:8739397-8751155" "SL4_0ch00:2379604-2380807" ... .. ..$ start : int [1:127432] 1075484 8739418 8750319 2380309 2416951 2417176 2417437 5306936 5307321 9265198 ... .. ..$ end : int [1:127432] 1075516 8739450 8750351 2380341 2416983 2417208 2417469 5306968 5307353 9265230 ... .. ..$ length : int [1:127432] 33 33 33 33 33 33 33 33 33 33 ... .. ..$ Sample1 : int [1:127432] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample2 : int [1:127432] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample3 : int [1:127432] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample4 : int [1:127432] 0 0 0 0 0 0 0 0 0 0 ... ..@ ie2.counts :'data.frame': 127432 obs. of 12 variables: .. ..$ event : chr [1:127432] "-" "-" "-" "-" ... .. ..$ locus : chr [1:127432] "Solyc00g005280.1" "Solyc00g006650.1" "Solyc00g006650.1" "Solyc00g007330.1" ... .. ..$ locus_overlap : chr [1:127432] "-" "-" "-" "-" ... .. ..$ symbol : chr [1:127432] "Solyc00g005280.1" "Solyc00g006650.1" "Solyc00g006650.1" "Solyc00g007330.1" ... .. ..$ gene_coordinates: chr [1:127432] "SL4_0ch00:1075280-1075782" "SL4_0ch00:8739397-8751155" "SL4_0ch00:8739397-8751155" "SL4_0ch00:2379604-2380807" ... .. ..$ start : int [1:127432] 1075575 8750297 8751041 2380623 2417050 2417268 2417797 5307024 5307420 9265328 ... .. ..$ end : int [1:127432] 1075607 8750329 8751073 2380655 2417082 2417300 2417829 5307056 5307452 9265360 ... .. ..$ length : int [1:127432] 33 33 33 33 33 33 33 33 33 33 ... .. ..$ Sample1 : int [1:127432] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample2 : int [1:127432] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample3 : int [1:127432] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample4 : int [1:127432] 0 0 0 0 0 0 0 0 0 0 ... ..@ gene.rd :'data.frame': 34075 obs. of 11 variables: .. ..$ symbol : chr [1:34075] "Solyc00g005280.1" "Solyc00g006650.1" "Solyc00g007330.1" "Solyc00g007340.1" ... .. ..$ locus_overlap : chr [1:34075] "-" "-" "-" "-" ... .. ..$ gene_coordinates: chr [1:34075] "SL4_0ch00:1075280-1075782" "SL4_0ch00:8739397-8751155" "SL4_0ch00:2379604-2380807" "SL4_0ch00:2388674-2389042" ... .. ..$ start : int [1:34075] 1075280 8739397 2379604 2388674 2416399 5306617 9265121 9276887 9271932 1943916 ... .. ..$ end : int [1:34075] 1075782 8751155 2380807 2389042 2417840 5307486 9265617 9277476 9273315 1946994 ... .. ..$ length : num [1:34075] 503 11759 1204 369 1442 ... .. ..$ effective_length: int [1:34075] 411 156 889 369 888 681 366 489 1031 1072 ... .. ..$ Sample1 : num [1:34075] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample2 : num [1:34075] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample3 : num [1:34075] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample4 : num [1:34075] 0 0 0 0 0 0 0 0 0 0 ... ..@ bin.rd :'data.frame': 281031 obs. of 17 variables: .. ..$ feature : chr [1:281031] "E" "I" "E" "E" ... .. ..$ event : chr [1:281031] "external" "-" "external" "external" ... .. ..$ locus : chr [1:281031] "Solyc00g005280.1" "Solyc00g005280.1" "Solyc00g005280.1" "Solyc00g006650.1" ... .. ..$ locus_overlap : chr [1:281031] "-" "-" "-" "-" ... .. ..$ symbol : chr [1:281031] "Solyc00g005280.1" "Solyc00g005280.1" "Solyc00g005280.1" "Solyc00g006650.1" ... .. ..$ gene_coordinates: chr [1:281031] "SL4_0ch00:1075280-1075782" "SL4_0ch00:1075280-1075782" "SL4_0ch00:1075280-1075782" "SL4_0ch00:8739397-8751155" ... .. ..$ start : int [1:281031] 1075280 1075500 1075592 8739397 8739434 8750314 8750335 8751058 2379604 2380325 ... .. ..$ end : int [1:281031] 1075499 1075591 1075782 8739433 8750313 8750334 8751057 8751155 2380324 2380639 ... .. ..$ length : int [1:281031] 220 92 191 37 10880 21 723 98 721 315 ... .. ..$ Sample1 : num [1:281031] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample2 : num [1:281031] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample3 : num [1:281031] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample4 : num [1:281031] 0 0 0 0 0 0 0 0 0 0 ... .. ..$ Sample1 : num [1:281031] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN ... .. ..$ Sample2 : num [1:281031] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN ... .. ..$ Sample3 : num [1:281031] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN ... .. ..$ Sample4 : num [1:281031] NaN NaN NaN NaN NaN NaN NaN NaN NaN NaN ... ..@ targets :'data.frame': 4 obs. of 3 variables: .. ..$ bam : chr [1:4] "Control_1_filtered_sorted.bam" "Control_2_filtered_sorted.bam" "NaCl_1_filtered_sorted.bam" "NaCl_2_filtered_sorted.bam" .. ..$ f1 : chr [1:4] "control" "control" "treatment" "treatment" .. ..$ condition: chr [1:4] "control" "control" "treatment" "treatment" ..@ condition.order : chr [1:2] "control" "treatment" ..@ .ASpliVersion : chr "2"