-
Notifications
You must be signed in to change notification settings - Fork 7
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
Does it work on single-end reads? #4
Comments
Thanks for opening this issue and providing your output. I believe Could I ask you to please check if Regarding the warnings...
|
Thanks for the quick reply. After running test-all-metrics.tsv However, there's nothing in the
Same thing in
HTH |
Please share more information. What's in the other files? What's in the log (example)? What version of Picard are you using? Could I ask you to please share all of your output files? See here for an example of all the files I'm requesting from you. Alternatively, please share some of your input files so I can run it myself and see what is happening. You can email me if you don't want to post the files publically. |
Hi, I ran into the same problem and solved it by checking in the code whether '.insert-size-metrics.tsv' is actually present (as you do for the rna_metrics): so around line 895 (in the 'read_metrics' function: is_insert_size <- file.exists(sprintf("%s-insert-size-metrics.tsv", prefix))
if (is_insert_size) {
dat_insert_size_metrics = read_tsv(
sprintf("%s-insert-size-metrics.tsv", prefix)
)
} And added extra clauses further on: # Check whether there is any information on insert size
if (is_insert_size && !is.null(dat_insert_size_metrics)) {
stopifnot( all(dat_align_metrics$SAMPLE == dat_insert_size_metrics$SAMPLE) )
dat_align_metrics <- merge(dat_align_metrics, dat_insert_size_metrics, by = "SAMPLE")
}
# Check whether dat_library_complexity contains any data...
if (!is.null(dat_library_complexity) && dim(dat_library_complexity)[1] > 0) {
# duplicate_metrics and library_complexity share columns
cnames <- colnames(dat_library_complexity)
cnames[2:length(cnames)] <- paste(
cnames[2:length(cnames)], "_library_complexity",
sep = ""
) Hope this helps, Aldo |
Hi,
I was trying to run this tool on bam files generated from both SE and PE reads.
PE reads seem to work fine, but I am having troubles with SE reads:
I guess it has to do with collecting information about the insert-size from PE.
Is it possible to add an option to disable this part but still include all the other metrics in the pipeline?
Thanks for your help.
The text was updated successfully, but these errors were encountered: