Open asgarhussain opened 7 years ago
This could be caused by non matching names for the bam_files
and the design objects.
Can you give me the commands you used to produce the mg
object?
What is the result of those 2 commands:
mg$get_params()$bam_files
mg$get_design()
Output of the commands :
mg$get_params()$bam_files gfpexp_arpit_cmd_sort gfpinput_arpit_cmd_sort "gfpexp_arpit_cmd_sort.bam" "gfpinput_arpit_cmd_sort.bam"
mg$get_design() bam_files gfpexp_arpit_cmd_sort gfpinput_arpit_cmd_sort 1 gfpexp_arpit_cmd_sort 1 0 2 gfpinput_arpit_cmd_sort 0 1
On Thu, Apr 20, 2017 at 6:47 PM, Charles Joly Beauparlant < notifications@github.com> wrote:
This could be caused by non matching names for the bam_files and the design objects.
Can you give me the commands you used to produce the mg object?
What is the result of those 2 commands:
mg$get_params()$bam_filesmg$get_design()
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/CharlesJB/metagene/issues/72#issuecomment-295734803, or mute the thread https://github.com/notifications/unsubscribe-auth/AT-4Dj33dz4dIKdDJJEkwHKOBLLKD-Saks5rx1rkgaJpZM4NCyoL .
The names of the samples in the design file appear to match the bam files. I will need more info to debug this:
mg
objecttraceback()
function called right after the errormg
I am not able to replicate the error, are you using these commands?
> bam_files
[1] "gfpexp_arpit_cmd_sort.bam" "gfpinput_arpit_cmd_sort.bam"
> design
bam_files gfpexp_arpit_cmd_sort gfpinput_arpit_cmd_sort
1 gfpexp_arpit_cmd_sort 1 0
2 gfpinput_arpit_cmd_sort 0 1
> mg <- metagene$new(bam_files = bam_files, regions = regions)
> mg$produce_matrices(design = design)
>
I got the following error message
mg$produce_matrices()