skills/scientific-writing/nature-figure-guide/SKILL.md
Nature figure preparation: resolution (300+ DPI), formats (AI/EPS/TIFF), RGB color, Helvetica/Arial fonts, lowercase panel labels, image integrity requirements.
npx skillsauth add jaechang-hits/sciagent-skills nature-figure-guideInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This guide provides the complete specifications for preparing figures for submission to Nature and Nature Research journals. Following these guidelines ensures smooth processing and high-quality reproduction of your figures in both print and online formats.
Official reference: https://www.nature.com/nature/for-authors/formatting-guide
| Image Type | Minimum Resolution | Notes | |---|---|---| | All figures | 300 DPI | At maximum print size | | Optimal quality | 450 DPI+ | Recommended for best online display | | Online submission | 300 PPI max | To keep file sizes manageable |
CRITICAL: Do NOT artificially increase resolution (upsampling) in image editing software. This does not improve quality and may introduce artifacts.
from PIL import Image
def check_nature_resolution(image_path):
"""Check if image meets Nature's resolution requirements."""
img = Image.open(image_path)
width_px, height_px = img.size
dpi = img.info.get('dpi', (72, 72))
print(f"Image: {image_path}")
print(f"Dimensions: {width_px} x {height_px} px")
print(f"DPI: {dpi[0]} x {dpi[1]}")
if dpi[0] < 300 or dpi[1] < 300:
print("WARNING: Resolution below 300 DPI minimum")
print(f" Need at least 300 DPI for Nature submission")
elif dpi[0] >= 450:
print("PASS: Meets optimal resolution (450+ DPI)")
else:
print("PASS: Meets minimum resolution (300+ DPI)")
# Check file size
import os
size_mb = os.path.getsize(image_path) / (1024 * 1024)
print(f"File size: {size_mb:.1f} MB")
if size_mb > 10:
print("WARNING: File exceeds 10 MB limit")
return dpi[0] >= 300 and dpi[1] >= 300
| Figure Type | Preferred Format | Alternative | |---|---|---| | Line drawings, graphs, schematics | Adobe Illustrator (AI), EPS, PDF | Vector formats preserve editability | | Photographs, micrographs | Photoshop (PSD), TIFF | High-quality raster | | General purpose | JPEG (300-600 DPI) | Acceptable for most figures | | Extended Data figures | JPEG (preferred), TIFF, EPS | |
Nature does not specify fixed column widths for initial submission, but figures should be:
import matplotlib.pyplot as plt
def create_nature_figure(n_panels=1, fig_type='single_column'):
"""Create a Matplotlib figure sized for Nature."""
if fig_type == 'single_column':
fig_width = 3.5 # inches (approx 89 mm)
elif fig_type == 'double_column':
fig_width = 7.0 # inches (approx 178 mm)
else:
fig_width = 5.0 # 1.5 column
fig_height = fig_width * 0.75 # default aspect ratio
fig, axes = plt.subplots(1, n_panels, figsize=(fig_width, fig_height))
fig.set_dpi(450)
return fig, axes
# Nature-friendly colorblind-safe colors
NATURE_COLORS = {
'blue': '#0072B2',
'orange': '#E69F00',
'green': '#009E73',
'red': '#D55E00',
'purple': '#CC79A7',
'cyan': '#56B4E9',
'yellow': '#F0E442',
'black': '#000000',
}
| Element | Font | Size | Style | |---|---|---|---| | Body text in figures | Helvetica or Arial | 5-7 pt | Regular | | Panel labels | Helvetica or Arial | 8 pt | Bold, lowercase (a, b, c) | | Amino acid sequences | Courier | — | Monospace | | Greek characters | Symbol | — | — |
import matplotlib.pyplot as plt
def set_nature_fonts():
"""Configure Matplotlib for Nature figure fonts."""
plt.rcParams.update({
'font.family': 'sans-serif',
'font.sans-serif': ['Helvetica', 'Arial'],
'font.size': 7,
'axes.labelsize': 7,
'axes.titlesize': 7,
'xtick.labelsize': 6,
'ytick.labelsize': 6,
'legend.fontsize': 6,
'figure.titlesize': 8,
})
import matplotlib.pyplot as plt
import string
def add_nature_panel_labels(fig, axes):
"""Add Nature-style lowercase bold panel labels."""
if not hasattr(axes, '__iter__'):
axes = [axes]
for i, ax in enumerate(axes):
label = string.ascii_lowercase[i]
ax.text(-0.1, 1.1, label,
transform=ax.transAxes,
fontsize=8,
fontweight='bold',
va='top',
ha='right',
fontfamily='Arial')
from PIL import Image
import os
def validate_nature_figure(image_path):
"""Full validation of a figure against Nature requirements."""
img = Image.open(image_path)
issues = []
# 1. Resolution check
dpi = img.info.get('dpi', (72, 72))
if dpi[0] < 300 or dpi[1] < 300:
issues.append(f"Resolution too low: {dpi[0]}x{dpi[1]} DPI (need 300+)")
# 2. Color mode check
if img.mode == 'CMYK':
issues.append("Color mode is CMYK; RGB is recommended for Nature")
elif img.mode not in ('RGB', 'RGBA'):
issues.append(f"Unexpected color mode: {img.mode}; use RGB")
# 3. File size check
size_mb = os.path.getsize(image_path) / (1024 * 1024)
if size_mb > 10:
issues.append(f"File size {size_mb:.1f} MB exceeds 10 MB limit")
# 4. Format check
fmt = img.format
accepted = ['TIFF', 'JPEG', 'PNG', 'EPS', 'PDF']
if fmt and fmt.upper() not in accepted:
issues.append(f"Format '{fmt}' may not be accepted; prefer TIFF or JPEG")
# Report
print(f"=== Nature Figure Validation: {os.path.basename(image_path)} ===")
print(f"Dimensions: {img.size[0]} x {img.size[1]} px")
print(f"DPI: {dpi[0]} x {dpi[1]}")
print(f"Color mode: {img.mode}")
print(f"Format: {fmt}")
print(f"File size: {size_mb:.1f} MB")
if issues:
print(f"\nISSUES FOUND ({len(issues)}):")
for issue in issues:
print(f" - {issue}")
else:
print("\nAll checks PASSED")
return len(issues) == 0
DPI (dots per inch) measures print resolution. Nature requires 300+ DPI at maximum print size. Upsampling (artificially increasing resolution in software) does not improve image quality and introduces interpolation artifacts. Always capture or export images at native high resolution.
Vector formats (AI, EPS, PDF) store images as mathematical paths and scale without quality loss — ideal for graphs, schematics, and line art. Raster formats (TIFF, JPEG, PSD) store pixel grids and degrade when enlarged — appropriate for photographs and micrographs. Nature prefers vector for line drawings and raster for photographic content.
Nature enforces strict image integrity policies aligned with the Committee on Publication Ethics (COPE) guidelines. All adjustments must be applied uniformly to the entire image. Selective enhancement of specific regions (e.g., adjusting brightness on one gel lane) is considered data manipulation and grounds for rejection or retraction.
What type of figure are you preparing?
├── Graph, schematic, or diagram → Vector format (AI, EPS, PDF)
│ ├── Created in Illustrator → Export as AI or EPS
│ └── Created in Python/R → Export as PDF or EPS
├── Photograph or micrograph → Raster format (TIFF, PSD, JPEG)
│ ├── Need highest quality → TIFF at 450+ DPI
│ └── File size constrained → JPEG at 300+ DPI
└── Multi-panel composite → Single assembled file
├── Mixed vector + raster → Assemble in Illustrator, export as AI/PDF
└── All raster panels → Assemble in Photoshop, export as TIFF
| Scenario | Recommended Format | Resolution | Notes | |---|---|---|---| | Bar chart or line graph | AI, EPS, PDF | Vector (resolution-independent) | Keep text editable | | Fluorescence micrograph | TIFF | 450+ DPI | RGB mode, colorblind-safe palette | | Western blot image | TIFF | 300+ DPI | No selective adjustments | | Flow chart or pathway | AI, EPS | Vector | Use Helvetica/Arial fonts | | Extended Data figure | JPEG | 300+ DPI | Same standards as main figures |
Before submitting figures to Nature, verify:
tools
Fast short-read DNA aligner for WGS/WES/ChIP-seq. 2× faster BWA-MEM successor; outputs SAM/BAM with read group headers for GATK. Primary plus supplementary records for chimeric reads. Use STAR for RNA-seq splice-aware alignment; Bowtie2 is a comparable alternative.
tools
smina molecular docking CLI. AutoDock Vina fork with customizable scoring functions, native SDF/MOL2/PDB ligand input, autoboxing, local energy minimization, and per-atom score breakdowns. Pipeline: receptor PDBQT prep -> ligand prep (RDKit/OpenBabel) -> dock via autobox or explicit grid -> rescore/minimize with custom scoring -> rank poses by affinity. Choose smina over Vina when you need custom scoring terms (--custom_scoring), local optimization of an existing pose (--local_only), per-atom contributions (--atom_term_data), or SDF/MOL2 ligands without manual PDBQT conversion. For unknown binding sites use diffdock-blind-docking; for the Python-bindings/Vinardo workflow use autodock-vina-docking.
development
mdtraj molecular dynamics trajectory analysis (Python). Reads DCD/XTC/TRR/NetCDF/H5/PDB topologies and trajectories; computes RMSD vs time, radius of gyration, per-residue RMSF, residue-residue contact frequency maps, phi/psi torsions for Ramachandran plots (general + Gly/Pro), and 8-state DSSP secondary structure. Modules: trajectory I/O, geometry (distances/angles/dihedrals), structural analysis (RMSD/Rg/RMSF/SASA), contacts, hydrogen bonds, secondary structure (DSSP), NMR observables. For broader atom-selection grammar use mdanalysis-trajectory; for running MD simulations use OpenMM/GROMACS.
development
Programmatic PubMed access via NCBI E-utilities REST API. Covers Boolean/MeSH queries, field-tagged search, endpoints (ESearch, EFetch, ESummary, EPost, ELink), history server for batches, citation matching, systematic review strategies. Use for biomedical literature search or automated pipelines.