PeeperLab / CopywriteR

DNA copy number detection from off-target sequence data
GNU General Public License v3.0
30 stars 10 forks source link

no input.Rdata file when using each sample as their own control #20

Closed nstickle closed 6 years ago

nstickle commented 6 years ago

Hi, when I try running each sample as its own control I do not get an input.Rdata file and so cannot run plotCNA. Otherwise it appears to have worked correctly, I get the following files as output: bam file index for bam file peaks1.bed CopywriteR.log log2_read_counts.igv read_counts.txt

Any idea why? Thanks, Natalie

nstickle commented 6 years ago

I should have added that I got this error at the end:

Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : line 1 did not have 4 elements

Thanks.

thomasKuilman commented 6 years ago

Hi Natalie,

I am quite sure this has something to use the optional capture-regions.file argument to specify a location for a bed file with peak locations. Is that correct? If so, you should double-check the format of the bed file. You get this error message when R tries to read a table, where in the first line you have a different number of ‘columns’ than in the rest of the file.

I hope that helps, otherwise let me know.

Best,

Thomas


Thomas Kuilman, PhD Department of Molecular Oncology & Immunology Netherlands Cancer Institute 1066 CX Amsterdam The Netherlands

Phone: +31-20-5121841

On 1 Mar 2018, at 23:26, nstickle notifications@github.com<mailto:notifications@github.com> wrote:

Hi, when I try running each sample as its own control I do not get an input.Rdata file and so cannot run plotCNA. Otherwise it appears to have worked correctly, I get the following files as output: bam file index for bam file peaks1.bed CopywriteR.log log2_read_counts.igv read_counts.txt

Any idea why? Thanks, Natalie

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/PeeperLab/CopywriteR/issues/20, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIGKlkbRuF18OcElccOyJxzOAqMnklJVks5taHWIgaJpZM4SZGGW.

nstickle commented 6 years ago

Thank you. I had that thought, and did think that I had checked that... but it does seem it was the problem, there was a header line in the bed file.

Natalie

thomasKuilman commented 6 years ago

Hi Nathalie,

I will leave the issue open on Github as I realized that in the bed format a track line is allowed, and hence CopywriteR should not choke on this. Hopefully I can implement that in the future.

Best regards,

Thomas

Sent from my iPhone

On 8 Mar 2018, at 18:25, nstickle notifications@github.com<mailto:notifications@github.com> wrote:

Thank you. I had that thought, and did think that I had checked that... but it does seem it was the problem, there was a header line in the bed file.

Natalie

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/PeeperLab/CopywriteR/issues/20#issuecomment-371559787, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIGKlkjYnmE7suFBrMf4bvlGTAVoQJNsks5tcWmegaJpZM4SZGGW.