Skip to content

tsy19900929/N-Region

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

usage example 1

bash N.sh test.fasta chr1
  you will get test.fasta.chr1.1-based.bed
 
 

usage example 2

hg19=ucsc.hg19.fasta
cat $hg19 | grep '^>chr' | sed 's/>//' | xargs -i -P 24 bash N.sh $hg19 {}
cat *hg19*.chr*.1-based.bed >hg19.N-Region
  you will get hg19.N-Region
cat hg19.N-Region | awk '{print $3-$2+1}' | datamash sum 1 will output 239850802 identical with http://genomewiki.ucsc.edu/index.php/Hg19_Genome_size_statistics

Releases

No releases published

Packages

No packages published