speciationgenomics / scripts

Scripts for analysis used during the course
78 stars 61 forks source link

Question about the format of genome_scan/chrEnds.txt file #10

Open luckyvivi opened 3 years ago

luckyvivi commented 3 years ago

In the script of genomeScan.r, appears the requiring of a txt file to get the end position of the chromosome. But I have no idea of what it's looks like. The script concerning this issue is attached below. Could you please help me to find it out. Thanks in advance.

Get chrom ends for making positions additive

chrom<-read.table("./genome_scan/chrEnds.txt",header=T) chrom$add<-c(0,cumsum(chrom$end)[1:21])

zhang12298 commented 1 year ago

我的这个格式也不对 请问你是如何解决的