Magnet Releasing, the genre arm of Magnolia Pictures, has acquired North American rights to sci-fi horror film “John Dies at the End.”

“John Dies” is directed, produced and written by Don Coscarelli (“Bubba Ho-Tep”) and stars Paul Giamatti (who exec produced with Daniel Carey), Chase Williamson, Rob Mayes, Clancy Brown, Glynn Turman and Doug Jones.

Film was also produced by M3 Creative’s Brad Baruh, Andy Meyers and Roman Perez. Project is based on the book by David Wong.

Giamatti plays a shadowy figure investigating a street drug known as Soy Sauce, which causes users to drift across time and dimensions. But some who come back are no longer human.

“John Dies” premiered as a work in progress at this year’s Sundance Film Festival. It screened at SXSW and will appear at the upcoming Toronto Film Festival, where the final cut of “John Dies” will premiere as the closing-night film of Midnight Madness.

Magnet will release the film on all VOD platforms in late December, with a theatrical release to follow in early 2013.

The deal was negotiated by Magnet/Magnolia director of acquisitions Peter Van Steemburg with the filmmakers.