core dumped
Closed this issue · 1 comments
houruiyan commented
Hi Dr chung,
I have another question.
I want to run proactiv from bam file. The bam file in the red frame was used.
![image](https://private-user-images.githubusercontent.com/56068158/285625626-941cec0a-e19d-4dff-9cc7-33cd95522061.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxNTczNDYsIm5iZiI6MTcyMDE1NzA0NiwicGF0aCI6Ii81NjA2ODE1OC8yODU2MjU2MjYtOTQxY2VjMGEtZTE5ZC00ZGZmLTljYzctMzNjZDk1NTIyMDYxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA1VDA1MjQwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThlMTA1OWMwYzAxMWJmMzhhNzUwMGM5YmRlMTE2MzE0NDU1OWI1MTRkMjQ2ZjJhMmQwZTBmYzUwMzFmYmY0MmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.riUwd6GTP3QyWQctZBQTXDntG0kkgmWAeBKxfypLSt0)
This is my script
library(proActiv)
#BiocManager::install("BSgenome.Mmusculus.UCSC.mm10")
mouse.gtf.file <- '/mnt/ruiyanhou/nfs_share2/RNA_seq_organ_species/ref_annotation/Mus_musculus.GRCm38.77.gtf.gz'
mouse_annotation <- preparePromoterAnnotation(file = mouse.gtf.file, species = 'Mus_musculus')
mouse_bam_file<-'/mnt/ruiyanhou/nfs_share2/RNA_seq_organ_species/bam_file/mouse/5360sTS.Mouse.Kidney.9wpb.Male.sorted.bam'
mouse_result <- proActiv(files = mouse_bam_file,
promoterAnnotation = mouse_annotation,genome='mm10',ncores=1)
## Removes single-exon transcripts / promoters by eliminating promoter counts that are NA
result <- result[complete.cases(assays(result)$promoterCounts),]
## export result
result_df <- rowData(result)
result_df$txId <- vapply(result_df$txId, paste, collapse = ", ", character(1L))
write.table(result_df, "/mnt/ruiyanhou/nfs_share2/RNA_seq_organ_species/proactiv_result/mouse/5360sTS.Mouse.Kidney.9wpb.Male.rowData.tsv", sep = "\t", quote = F)
result_absolutePromoterActivity_df <- assays(result)$absolutePromoterActivity
write.table(result_absolutePromoterActivity_df, "/mnt/ruiyanhou/nfs_share2/RNA_seq_organ_species/proactiv_result/mouse/5360sTS.Mouse.Kidney.9wpb.Male.activ.tsv", sep = "\t", quote = F)
Then I run [ruiyanhou@CPU3:RNA_seq_organ_species]$ nohup Rscript run_proactiv.R &
But I always get this error
![image](https://private-user-images.githubusercontent.com/56068158/285625718-c5f0c24a-a6a7-4967-9797-ef9862510d24.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxNTczNDYsIm5iZiI6MTcyMDE1NzA0NiwicGF0aCI6Ii81NjA2ODE1OC8yODU2MjU3MTgtYzVmMGMyNGEtYTZhNy00OTY3LTk3OTctZWY5ODYyNTEwZDI0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA1VDA1MjQwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTNhMzgzNDVhMDJhOTk0ZjU5MTI4YWY2MTc5NDA0ZGQ4MTM2MDhjZmM5NTZlMjJhZWNhZmVmOGMzZDk0YjgyN2EmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Ixwoy5FoojNdTLkiSLhJWRb6D49-yIJJ81o01h-PtKw)
In addition, when I run in the Rstudio, it also aborted suddendly.
Could you help me? Thank you very much!
houruiyan commented
This solved. Thanks! When I changed to another server. this error will not appear.