Biblatex AMA style

I'm counting on the fact that somebody must have done this and has a style file for biblatex-AMA (American Medical Association). Otherwise how do I make the list of references look like this:

Heibel AK, Vergeldt FJ, van As H, Kapteijn F, Moulijn J, Boger T. Gas and liquid distribution in the monolith film flow reactor. AIChE Journal. 2003;49:3007-3017.

• Could you post a minimal example of what you obtain now and give some details of how it should be corrected? B.t.w., I suppose you mean biblatex-APA. – Bernard Mar 11 '15 at 9:37
• A google search reveals no biblatex-ama style and from what you have posted it is not really easy to make out what it would look like, but it looks quite close to any of the standard styles with the in macro chucked away, terseints option, and some weird stuff going on in the volume/pages department. – moewe Mar 11 '15 at 9:38
• @Bernard No, I mean the AMA style (American Medical Association). biblatex-ama does not exist on CTAN but I thought somebody must have done it at some point as a personal style file (and would like to share). – remus Mar 11 '15 at 9:40
• I see. The simplest (?) would be to start from an existing style file close to what you want and patch with a package such as xpatch, which is done for that. – Bernard Mar 11 '15 at 9:45
• @moewe I managed to create the style. I started from the standard authoryear and patched some commands. – remus Mar 16 '15 at 15:00

Here's a fix. I tested it only on articles and books:

\usepackage[backend=biber, style=authoryear, bibstyle=authortitle, natbib=true, maxcitenames=2, maxbibnames=99, isbn=false, url=false, firstinits=true, uniquename=false, uniquelist=false, terseinits]{biblatex}

\DeclareNameAlias{sortname}{last-first}
\renewcommand*{\revsdnamepunct}{}

\DeclareFieldFormat[article,inbook,incollection,inproceedings,patent,thesis,unpublished]{title}{{#1\isdot}}
\renewbibmacro{in:}{}
\DeclareFieldFormat{pages}{#1}

% Normal title font (remove italic)
\DeclareFieldFormat{booktitle}{{#1}}
\DeclareFieldFormat{title}{{#1}}

% Year after title
\renewbibmacro*{journal+issuetitle}{%
\usebibmacro{journal}%
\iffieldundef{series}
{}
{\newunit
\printfield{series}%
\usebibmacro{issue+date}%
\usebibmacro{volume+number+eid}%
\usebibmacro{issue}%
\newunit%
}

% Print only the year
\renewbibmacro*{issue+date}{%
\printfield{year}%
}

% Remove "and" from list of authors
\renewcommand*{\finalnamedelim}{\multinamedelim}


• Your way to display the year after the title seems rather crude to me, why not use bibstyle=authoritle instead? – moewe Mar 16 '15 at 15:19
• @moewe authortitle makes the year appear after volume number. It should be before... I'll try to patch it. – remus Mar 16 '15 at 15:28
• I see, have a look at journal+issuetitle as defined in standard.bbx (line 744 in my version) and swap \usebibmacro{volume+number+eid} and \usebibmacro{issue+date} (changing punctuation between them accoding to your taste) - for that to work you should then get rid of the \renewbibmacro*{date}{} line (we want to see the date after all). – moewe Mar 16 '15 at 15:40
• @moewe I made an update. – remus Mar 16 '15 at 15:50
\documentclass[12pt]{article}
\usepackage[super,sort&compress]{natbib}
\setcitestyle{comma,numbers,super,open={},close={}}
\makeatletter
\renewcommand\@biblabel[1]{#1.}
\makeatother
\begin{document}

\section*{Latex Superscript Citation (AMA-like)}

This is a superscript citation~\citep{da2018graph}

\begin{thebibliography}{99}
\bibitem{da2018graph}
Silva WMC, Wercelens P, Walter MEM et~al.
\newblock Graph databases in molecular biology.
\newblock In \emph{Brazilian Symposium on Bioinformatics}. Springer, pp.
50--57.
\end{thebibliography}

\end{document}