companion icon indicating copy to clipboard operation
companion copied to clipboard

Add track with contig placements to Circos plots

Open satta opened this issue 10 years ago • 3 comments

It could be useful to a user to see what contigs map to a target pseudochromosome. It should be evaluated whether Circos allows to label such regions with contig IDs in a separate track.

satta avatar Jan 18 '16 12:01 satta

Would you be able to provide the commands to do it or maybe even be able to modify the nf file?

mictadlo avatar Aug 30 '16 04:08 mictadlo

I have experimented a little but but it's quite nontrivial to do if we also want all the labels for contigs in there. This will blow the image up immensely if there are many contigs. It might be possible to only enable this feature if the number of contigs is less than a reasonable threshold.

Regarding your question, this would be something that is quite closely tied to the Circos input generation, and difficult to do on the Companion end output (most of the intermediate data used to make the plots is not kept at this stage). However, you might be able to use the AGP files present in the Companion output to roll your own solution -- they describe the mappings completely.

@mictadlo BTW if you're the Michal Lorenc I know from the ZBH, then hi and long time no see!

satta avatar Aug 30 '16 09:08 satta

Hi Sascha, Yes, its me. Congratulation to your job and thank you for your response.

mictadlo avatar Aug 30 '16 23:08 mictadlo