Genomicus / bedtools

Automatically exported from code.google.com/p/bedtools
0 stars 0 forks source link

shuffleBed with -incl and -chrom not keeping chromosome positions right #171

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run shuffleBed with both -incl and -chrom flags
2.
3.

What is the expected output? What do you see instead?
I would expect the output to have the same number of occurrences in chromosomes 
as the input file, it does not. Also, running it in a shell script repeatedly 
gives different distribution over chromosomes every time. Removing -incl solves 
the issue and each outfile has constant distribution across chromosomes, and 
the one matching the input file.

What version of the product are you using? On what operating system?
v2.20.1
CentOS 5.10

Please provide any additional information below.
I am trying to create a sample of single-base positions to test distribution of 
features for my dataset of SNPs. Also, this sample should be only within the 
coordinates of interest, i.e. some ~300 5-500kb regions, which I am providing 
with -incl. Am I using the options correctly or is what I am seeing a bug?

Many thanks,
 Anja

Original issue reported on code.google.com by anja.bar...@gmail.com on 30 Jun 2014 at 10:51