Skip to content

Small converter between bgzf fragment file and SAM stdout

Notifications You must be signed in to change notification settings

maxim-h/fragments_to_sam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Converter between fragments file and SAM record stream

This is a very simple and stupid program that takes in a fragments file, a list of chromosome sizes and outputs SAM to stdout.

It's written only for one purpose: to feed the output of chromap to Genrich, because the latter doesn't support fragments files as input, but can be fed SAM records from stdin.

Because of this hyperspecific purpose the code doesn't properly validate and form SAM records through noodles, but just hardcodes most of the record in hopes that it is correct. This makes it fast enough not to slow Genrich down, but also dangerous for any other use. I don't really recommend it even for this use, but who am I to stop you ;)

About

Small converter between bgzf fragment file and SAM stdout

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages