Giter Site home page Giter Site logo

rtfcoimbra / coimbra-et-al-2021_currbiol Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 6.0 85 KB

Code used to analyse WGS data of giraffe in Coimbra et al. 2021 (https://doi.org/10.1016/j.cub.2021.04.033)

Shell 46.69% R 33.70% Python 19.61%
bioinformatics genomics giraffe phylogenomics population-genomics speciation

coimbra-et-al-2021_currbiol's People

Contributors

rtfcoimbra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

coimbra-et-al-2021_currbiol's Issues

How to get giaffe_roh_sgmt.csv and roh_outputs_giraffe.csv.

Hello,
I use your script of estimate_roh.R. I get the file, and named hbdseg.csv.

"id","chrom","start_snp","end_snp","start_pos","end_pos","number_snp","length","HBDclass"
1,1,4930,4939,1457703,1457919,10,217,6
1,1,4972,5002,1464363,1467661,31,3299,6
1,1,7272,7310,1896898,1900542,39,3645,6
1,1,10054,10117,2344703,2349186,64,4484,6
1,1,10938,10990,2490768,2498224,53,7457,6
1,1,10996,11258,2498961,2546343,263,47383,6
1,1,11267,11301,2548915,2555919,35,7005,6
1,1,11631,11651,2608136,2612462,21,4327,6
1,1,17614,17716,3763162,3781310,103,18149,6
1,1,19020,19370,4074930,4157803,351,82874,6
1,1,19394,19689,4170065,4230975,296,60911,6
1,1,19714,19801,4235095,4248641,88,13547,6
1,1,19979,20055,4277210,4302812,77,25603,6
1,1,20089,20250,4319747,4356240,162,36494,6
1,1,20356,20449,4396813,4428070,94,31258,6
1,1,20499,22148,4463165,4987965,1650,524801,4
1,1,22154,23716,4989829,5410327,1563,420499,4
1,1,23740,24836,5419663,5660844,1097,241182,4
1,1,24862,25006,5663358,5692519,145,29162,6
1,1,25023,25565,5694801,5788456,543,93656,6
1,1,25573,30733,5790999,7249623,5161,1458625,4
1,1,30738,30824,7275362,7315266,87,39905,6

It have about one million row. But I don't know that how to convert hbdseg.csv to input file for plot_froh.R.
Could you provide something tips.
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.