czc / nb_distribution

novoBreak: local assembly for breakpoint detection in cancer genomes
MIT License
26 stars 6 forks source link

Running novobreak on a single sample #9

Open kalexiou opened 5 years ago

kalexiou commented 5 years ago

Hi,

In the paper Novel sequences, structural variations and gene presence variations of Asian cultivated rice authors run novoBreak on each of 3,010 rice accessions independently with default parameters.

I want to ask you how is it possible to run the tool on a single sample. The bash script ./run_novoBreak.sh is asking for control and treated sample.

I have also send an email to the corresponding author of the paper, but I thought that I may get a faster response here.

Thanks!

MateuszChilinski commented 4 years ago

Any luck in getting the response? :)

kalexiou commented 4 years ago

Everything has been resolved

Thanks

El jue., 5 de diciembre de 2019 16:49, Mateusz Chiliński < notifications@github.com> escribió:

Any luck in getting the response? :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/czc/nb_distribution/issues/9?email_source=notifications&email_token=ACEW3Q5TZAUSKK6LUYVVSHLQXEWKZA5CNFSM4HXIHASKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGBLL4A#issuecomment-562214384, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEW3Q3JBDAVVW3EWS7F223QXEWKZANCNFSM4HXIHASA .

MateuszChilinski commented 4 years ago

Could you share the answer? Because I need to run it without tumor sample as well, and I have no luck in doing so :)

kalexiou commented 4 years ago

Hi,

You just generate a dumb control bam file from the bam of the sample.

samtools view -H sample.bam | samtools view -bh > control.bam

samtools index control.bam

Then you launch the nb_distribution.sh file with the sample and control bams.

Give it a try and let me know if it doesn't work.

Good luck!

El jue., 5 de diciembre de 2019 22:29, Mateusz Chiliński < notifications@github.com> escribió:

Could you share the answer? Because I need to run it without tumor sample as well, and I have no luck in doing so :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/czc/nb_distribution/issues/9?email_source=notifications&email_token=ACEW3Q47VI7CA6MKX7UTR5LQXF6GLA5CNFSM4HXIHASKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGCL5HY#issuecomment-562347679, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEW3Q5EQVHFSH66QODK3N3QXF6GLANCNFSM4HXIHASA .

MateuszChilinski commented 4 years ago

Sample is used as normal bam, and the control bam is used as tumor_bam, right?

kalexiou commented 4 years ago

The other way around

El jue., 5 de diciembre de 2019 23:15, Mateusz Chiliński < notifications@github.com> escribió:

Sample is used as normal bam, and the control bam is used as tumor_bam, right?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/czc/nb_distribution/issues/9?email_source=notifications&email_token=ACEW3QYCYYG4GXSPCJJTFTDQXGDRXA5CNFSM4HXIHASKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGCPFVA#issuecomment-562361044, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEW3Q7KAGP4IOH7MWXEMR3QXGDRXANCNFSM4HXIHASA .

MateuszChilinski commented 4 years ago

Thank you a lot, I will try it as soon as I can :)