Hi Dan,
chainMergeSort takes N chain files that are already sorted by score and
interleaves them together so the resulting output file is also sorted by
score. It does this by grabbing the first chain from each of the N
files and just sorts those N items. It then outputs the highest scoring
chain, grabs the next chain from the file that the highest-scoring chain
came from, and repeats the process until there are no more chains in any
of the files. (If you run chainMergeSort on unsorted input files, the
output will not be sorted either.)
To sort a single file, you can use the chainSort command.
Your understanding of axtChain is correct.
--
Brooke Rhead
UCSC Genome Bioinformatics Group
>>> And my command is:
>>> axtChain -linearGap=loose cer-vs-par.axt par.2bit cer.2bit
>>> cer-vs-par.axt.chain
>>> chainMergeSort cer-vs-par.axt.chain >cer-vs-par.axt.chain.mergesort
>>> Is there anything wrong with it?
>>> My linux version is: 3.2.1-gentoo-r2.
>>> Best regard,
>>> Dan Zhang
>>> Computational & Evolutionary Genomics Group
>>> Institute of Zoology, CAS
>>> Address: 1 Beichen West Road, Chaoyang District, Beijing 100101, P.R.China
>>> Tel:
+86-10-64806338
>>>
>>>
>>> --
>>>
>>>
>>>
>
>
>
>
>
> --
>
>
>