Closed bio-xtt closed 1 year ago
I think this is because you are using a tab-separated MAF. I was not accustomed to this and wrote maf2bed to use space separated MAF. If you convert it to space separated it might work
e.g. add a sed -e 's/\t/ /'
gunzip - c small_test_data2.maf.gz | sed -e 's/\t/ /g| ./maf2bed.pl Bombyx_mori | bgzip > small_test_data2.txt.gz
I should update the maf2bed command to properly make the full conversion though, similar issue was noted by @jdamas13
I have solved the problem, thank you very much!
glad to hear it! what command do you use to export from cactus? I am interested in graph genomes but have never used it before
cactus ./js ./examples/evolverMammals.txt ./evolverMammals.hal
cactus-hal2maf ./js ./evolverMammals.hal evolverMammals.maf.gz --refGenome simHuman_chr6 --chunkSize 1000000 --noAncestors --onlyOrthologs
https://github.com/ComparativeGenomicsToolkit/cactus/blob/master/doc/progressive.md
@bio-xtt awesome, thank you!
small_test_data2.maf.gz Hello, I used the script maf2bed.pl to convert the maf file output by cactus software to bed file for the visualization of mafviewer plug-in, and found that the script could not convert the maf file to the correct bed format, how do I solve this problem? I run the command: gunzip - c small_test_data2.maf.gz | ./maf2bed.pl Bombyx_mori | bgzip > small_test_data2.txt.gz